Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Find Source Definition #1245

Closed
johnsoncodehk opened this issue Apr 29, 2022 · 1 comment · Fixed by #3788
Closed

Support for Find Source Definition #1245

johnsoncodehk opened this issue Apr 29, 2022 · 1 comment · Fixed by #3788
Labels
enhancement New feature or request

Comments

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Apr 29, 2022

Related: microsoft/TypeScript#48264

@saminton
Copy link

Any news on this ?

For anyone else that ends up here, here are the current workarounds I've found

The vue-helper plugin does resolve this to some extent, but unfortunately the .d.ts file take priority over the plugin. Both are suggested in the list but the .d.ts file is always first. Maybe a temporary fix could be to disable the .d.ts definition files ?

I have tried adding "volar.vueserver.noProjectReferences": true and disabling the default VSCode typescript plugin but the results are always the same.

Screenshot 2022-11-17 at 13 06 46

There is also the Goto definition alias plugin which will first open the .d.ts file and then the component file which isn't ideal either.

An in-house solution would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants