GithubHelp home page GithubHelp logo

brackets-jquinter's Introduction

jQuinter

A brackets extension to get hints for selectors in jQuery,HTML and CSS.

How to use

in jQuery:

in HTML:

in CSS:

You're rich?

You don't need a second yacht and have some coins to spend? Here I am :)

Flattr this git repo Donate! :3

Versions

v0.3.0

  • it's possible to correct misspelling without starting from the beginning
  • case insensitive

v0.2.0

  • huge performance improvements
    • cache all hints at the beginning and on save

Next steps

  • support more awesome things
    • please open an issue if you miss something

brackets-jquinter's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

brackets-jquinter's Issues

Bugs found

The plugin doesn't show hints for my id tags when I type the hashtag (#) in my CSS files. It works with class tags and both class and id tags works fine in my jQuery files.

Disable auto creation of curly brackets in CSS

Hello!
Would be great if there was an option to disable auto creation of curly brackets in CSS after I chose selector to complete.
It's cool when I need to specify only one class. But when I want to specify multiple classes and complete each of them, I have curly brackets created automatically every time, and for instance, .one .more turns to this:

.one .more {

}{

}

Could you fix it, please?

Thank you very much for such a useful extension!

Hint insertion

Hello,

Is-it possible to add a hint whitout leaving the current line and opening the brackets ? It would be great for complex selector.

Thanks,
Rui

Cannot read property _name of undefined

I got this error on Brackets' start (I guess - my ext wasn't loaded yet)

Unhandled exception in getAllFiles handler: TypeError: Cannot read property '_name' of undefined TypeError: Cannot read property '_name' of undefined
    at JQueryHinter.getHintsForSingleFile (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:200:31)
    at getHintsForFilesRec (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:168:24)
    at JQueryHinter.getHintsForFiles (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:157:13)
    at Object.<anonymous> (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:107:24)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:26911)
    at Object.k.fireWith [as resolveWith] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:27724)
    at Object.e.(anonymous function) [as resolve] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:28704)
    at Object.<anonymous> (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:136:28)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:26911)
    at Object.k.fireWith [as resolveWith] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:27724)

That's what I have before and after this error:

 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper.
    at new jQuery.fn.init (/brackets.js:474:36)
    at n (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:405)
    at _handlerOn (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/enturn.quick-search/main.js:195:9)
    at file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/enturn.quick-search/main.js:223:21
    at Object.trigger (/utils/EventDispatcher.js:222:40)
    at _notifyActiveEditorChanged (/editor/EditorManager.js:165:17)
    at _handleCurrentFileChange (/editor/EditorManager.js:182:9)
    at Object.trigger (/utils/EventDispatcher.js:222:40)
    at eval (/view/MainViewManager.js:1107:29)
/project/ProjectModel.js:500
Unhandled exception in getAllFiles handler: TypeError: Cannot read property '_name' of undefined TypeError: Cannot read property '_name' of undefined
    at JQueryHinter.getHintsForSingleFile (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:200:31)
    at getHintsForFilesRec (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:168:24)
    at JQueryHinter.getHintsForFiles (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:157:13)
    at Object.<anonymous> (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:107:24)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:26911)
    at Object.k.fireWith [as resolveWith] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:27724)
    at Object.e.(anonymous function) [as resolve] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:28704)
    at Object.<anonymous> (file:///C:/Users/1/AppData/Roaming/Brackets/extensions/user/jquinter/hints.js:136:28)
    at j (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:26911)
    at Object.k.fireWith [as resolveWith] (file:///C:/Program%20Files%20(x86)/Brackets/www/thirdparty/thirdparty.min.js:559:27724)
NodeDebugUtils.js:117 [node-log 2:36:21 PM] [eqFTP-ftpDomain] Loaded
main.js:1633 [eqFTP] Loaded (v0.7.0)

version 0.3.0

Suggestion box doesn't show up

Hi
I have just tested your plug-in.Whenever I enter $('.classname') and then I put . the suggestion box doesn't show up!!!
screenshot from 2016-09-11 08-57-58
Here's my DevTools Logs:
screenshot from 2016-09-11 08-49-56

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.