Code Monkey home page Code Monkey logo

jquery's Introduction

jQuery Package for Sublime Text

This is a Sublime Text bundle to help with jQuery functions. It has syntax highlighting and almost all of the jquery methods as snippets.

Using snippets

Snippets are used by typing the method name and selecting the appropriate match, see below for an example when using ajax as the tabtrigger:

Authors

Forked from the original Textmate bundle by:

  • Karl Swedberg
  • Jonathan Chaffer

License

This bundle is dual-licensed under MIT and GPL licenses (just like jQuery).

Use it, change it, fork it, sell it. Do what you will, but please leave the author attribution.

Bitdeli Badge

jquery's People

Contributors

adeelshahid avatar andreiglingeanu avatar anon1234 avatar bitdeli-chef avatar carlosbrando avatar element0f0ne avatar fikrettursak avatar gaboesquivel avatar kswedberg avatar minusfive avatar mrmartineau avatar p233 avatar pafnuty avatar svnlto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery's Issues

error

plugin (method extras).tmSnippet

lack '' on 17 lines

${10:\$this} = $(this);
${10:\$this} = \$(this);

Autocomplete signature not auto-populate on pressing `enter`

If I start typing a JQuery function, like:

$.ajax

I get the autocomplete list, however, when I choose a function and hit enter the function signature does not auto-populate, which I thought is expected behavior.

Any ideas on what the conflict or issue is?

add

e.stopPropagation()

console.log() snippet?

How come there is no console.log() snippet? I like, from time to time, since I'm not an expert in javascript, to check what my code is doing, and if I targeted the right selector etc.

For that I use console.log() to check my code in console of the browser. Currently I don't see any autocomplete for console.log so I need to type it every time I need it. And that's kinda tiresome.

Is there an option for that that I'm unaware of? If not, can it be implemented?

after downloading it disappear again

is there any problem in downloading this file
after i download it from git cloning or download zip the file disappear in a day when the computer i close the computer

autocomplete of ajax command doubles $-indicator

When I type

jQuery.ajax
or
$.ajax

and then select the first normal ajax function, the following appears:

$.$.ajax({ ...
or
jQuery.$.ajax({ ...

It helps to have a good function build but you always have to remove the leading doubled indicator. It maybe is the case with other functions too, but am using the ajax request quite often so it's quite annoying.

Best,
Robin

not working snippet .on()

When trying to insert a snippet .on() ST2 say:

error: Error parsing content for snippet Packages/jQuery/on.sublime-snippet: Malformed regex

windows 7 x64 and x32, st2 portable

Updates for new sublime text syntax

Any plans to update the syntax highlighting? Sublime text has recently updated the syntax highlighting for JS, and now for example, the dollar signs are no longer highlighted. This package currently doesn't highlight them either ๐Ÿ˜ž

In any case, thank you for your work!

Syntax highlighting stopped working

After updating Sublime text 3 to build 3083 the syntax highlighting for jQuery stopped working, i can select it and the code hinting works but no colors show in the code, what can i do to fix it?

Documentation

Please add a description of what it provides. Syntax highlight? auto-complete? lint? ...?

Error on .prop() - multiple

Hello,

I have a little problem on .prop() snippet.
The plugin display this :

e.prop({
    property1: 'value1'},
    property2: 'value2'},
})

The console shows syntax error.
The syntax would be :

e.prop({
    property1: 'value1',
    property2: 'value2',
})

Convert single to double quotes?

I know this is probably an age old debate as to whether to use single or double quotes in JQuery, my personal preference is for double. However, I note that the snippets in this package use single quote notation. Is there a setting available to switch it? Thanks

That period removal commit...

$placeholder.height[tab]
expands to
$placeholder..height(integer)

You gotta pull out all the dots in the functions too, or they are all broken.

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.