devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Focus on the specific element when open in editor

Open gzzhanghao opened this issue 5 years ago • 1 comments

What problem does this feature solve?

In vue 3 we have line and column numbers for AST nodes, so now we can focus on the specific element when opening the editor.

What does the proposed API look like?

Here's a possible approach:

  1. Inject location info to props when compiling
  2. Send location info to a vscode plugin when hovering on an element
  3. Open source files with preview mode in the plugin

gzzhanghao avatar Apr 22 '20 10:04 gzzhanghao

Looking forward to this feature for two whole years!

kiccer avatar Apr 22 '22 08:04 kiccer