Is it a good idea to add current file path and line/col number to class in dev mode to enhance customized developer tools experience? #19250
TotooriaHyperion
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
I think you can achieve this by creating a plugin for babel/swc/etc, I don't think we should put this in core, we have source maps, so you can always to see your source code |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to speed up the troubleshooting and improve the debug experience for a big project.
In dev mode, I inspected the DI structure, generated a dependency graph, and tracked its lifecycle.
Now, I want to support a "click to open in the vscode" feature; just like the React developer tool achieves this by adding extra props to jsx in dev mode, I want to add file path and line/col number to every class.
Do you think it's a good idea, and do we already have some tools to achieve this? (I guess it was already supported as I believe it is very helpful, but I don't know what keyword to use to search for it because I'm not a native English speaker. I tried some but didn't find any.)
Beta Was this translation helpful? Give feedback.
All reactions