ReacTree icon indicating copy to clipboard operation
ReacTree copied to clipboard

Request: use typescript language server to trace imports

Open james-yeoman opened this issue 1 year ago • 0 comments

Rather than trying to process imports by hand (which is causing problems with Typescript Path Aliases and baseUrl), why not resolve imports with the help of the Typescript Language Server?

This would allow you to reuse information that the Language Server has already covered edge cases for.

It would also be more maintainable, since your extension would only need to worry about traversing the import tree to find react components and their properties

james-yeoman avatar Oct 27 '23 11:10 james-yeoman