adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Jump to HTML Code in Brackets by Selecting in Browser (Live Development) #8996

Open pthiess opened 10 years ago

pthiess commented 10 years ago

As a user, I want to be able to click on an HTML element in the browser and have Brackets jump the cursor to the HTML tag corresponding to that element (assuming it was not dynamically generated or reparented at runtime).

Requirements

See also the Jump to CSS code Trello card and this original story in the backlog for additional comments.

pthiess commented 10 years ago

Successor of Trello card 564

peterflynn commented 10 years ago

Thought: should there also be a keyboard shortcut to activate the "click-to-jump" mode? That way you can put your hand on the mouse and start moving it directly toward the DOM element of interest, rather than having to toggle a small button first, then move the mouse to the DOM element.

Chrome dev tools uses the shortcut Ctrl-Shift-C for this, fwiw.

(@larz0 @ryanstewart for thoughts)

larz0 commented 10 years ago

@peterflynn great idea!

PeterMacGonagan commented 9 years ago

It's a very great idea...

velinkoychev commented 9 years ago

This will be a killer feature!

lenovouser commented 9 years ago

:+1:

gemueselasagne commented 9 years ago

This would be a game changer! Awesome idea!