devtools
devtools copied to clipboard
Focus on the specific element when open in editor
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:
- Inject location info to props when compiling
- Send location info to a vscode plugin when hovering on an element
- Open source files with preview mode in the plugin
Looking forward to this feature for two whole years!