Code Monkey home page Code Monkey logo

Comments (8)

mrmartineau avatar mrmartineau commented on August 29, 2024

Yup, an age old debate and one that cannot be fixed by a mere snippet setting I'm afraid. Sorry buddy, gonna stick with the single quotes unless there's good reason to change it.

from jquery.

FichteFoll avatar FichteFoll commented on August 29, 2024

Actually, it can. See sublimehq/sublime_text#112 and https://github.com/makopo/sublime-text-lsl

from jquery.

 avatar commented on August 29, 2024

@FichteFoll that's great to hear - thanks for the link but being the noob that I am with Sublime customisation its not clear what I would need to do to reverse quote notation, given these resources talk about indentation - are you able to provide some guidance? Many thanks

from jquery.

FichteFoll avatar FichteFoll commented on August 29, 2024

Basically, you define a metadata shellVariable for the javascript scope that contains a quote character, either " or '. That quote character is switchable with a plugin for example. In the snippets you then replace all occurences of ' with ${JQ_QUOTING_CHARACTER} or whichever name you chose and ST will replace that with the selected quote character.

Edit: links

Note that the plistlib.readPlist does not work on some Linux distributions but that may be ST2-only.

from jquery.

 avatar commented on August 29, 2024

Thank you kindly for responding but I have no clue how to do that! I’ve only recently started working with JQuery which is a necessity for front-end dev (my forte is in HTML and CSS). I know basic concepts but beyond that it’s a minefield to me…

from jquery.

FichteFoll avatar FichteFoll commented on August 29, 2024

I have edited my comment with links to how the referenced package did it. This was mainly intended as information for @mrmartineau anyway.

from jquery.

 avatar commented on August 29, 2024

Thank you very much :o)

from jquery.

mrmartineau avatar mrmartineau commented on August 29, 2024

Thanks for your help @FichteFoll, I was not aware of this feature. @stevebhcc I don't have time to develop this feature but if you do, please submit a pull request for it so we can add it to the package.

from jquery.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.