Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML snippets in jQuery code not recognized by Quick Edit #12972

Open
core-ai-bot opened this issue Aug 31, 2021 · 4 comments
Open

HTML snippets in jQuery code not recognized by Quick Edit #12972

core-ai-bot opened this issue Aug 31, 2021 · 4 comments

Comments

@core-ai-bot
Copy link
Member

Issue by passabilities
Wednesday Dec 03, 2014 at 19:41 GMT
Originally opened as adobe/brackets#10078


I do a lot of work with jQuery and CSS by creating DOM objects and selectors in jQuery. It would be sweet if Brackets could recognize the CSS class or id tag from jQuery and be able to pull down the quick edit function.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Wednesday Dec 03, 2014 at 23:20 GMT


@passa763 This should work if you have a local copy of the jQuery .css file (i.e. it won't work with only a link to remote file). Does that work?

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Thursday Dec 04, 2014 at 21:53 GMT


@passa763 If I understand correctly, you're thinking of JS code like this:

$(".results-list li").addClass("selected")

And you want to put your cursor on the string inside the $(), hit Quick Edit, and see matching CSS code?

@core-ai-bot
Copy link
Member Author

Comment by passabilities
Friday Dec 05, 2014 at 17:57 GMT


@peterflynn no. When I create an object like
$("body").append($("<div id='foo'>"))

If I could Quick Edit with the cursor in the id tag foo

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Friday Dec 05, 2014 at 18:51 GMT


Gotcha. Updating title for clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant