Quote closing not working with jQuery multiple selectors

See animated GIF below (might have to click to view). Writing something like $('#item1') works fine, but it has trouble with $('#item1, #item2').
LICEcap.gif

4 comments
Comment actions Permalink

Works fine for me - closing quote is auto-inserted when typing opening one, and I can just enter selectors names. From you screenshot it seems that you try entering the closing quote manually, which results in inserting one more pair of quotes?

0
Comment actions Permalink

Yes, that's the bug.

When I type something like $('#id'), even if I type the quote, it does not duplicate it. It simply moves the cursor over it. But if I have two selectors, as in $('#one, #two'), the comma confuses WebStorm and typing a quote creates the outcome you see in the GIF I posted.

0
Comment actions Permalink

Ok...it's a bug, so hopefully it will be addressed even if no one else votes for it.

0

Please sign in to leave a comment.