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

TypeScript "Go To Source Definition" not working #133

Open
niksy opened this issue Nov 23, 2024 · 0 comments
Open

TypeScript "Go To Source Definition" not working #133

niksy opened this issue Nov 23, 2024 · 0 comments

Comments

@niksy
Copy link

niksy commented Nov 23, 2024

It seems like TypeScript’s "Go To Source Definition" is not working when used in Vue SFC, but the same functionality on same imports works in regular .ts files.

There were some resolved issues in @vue/language-tools repository related to hybrid mode support which suggest that this was fixed in v2, but even with using settings for TypeScript plugin it doesn’t seem to work. The only difference I’ve found is that using hybrid mode activates real TypeScript LSP so you get information "No source definitions found" when using command in Vue files (expected since this is coming from language server using Vue plugin).

I don’t know if this is TypeScript or Vue related, haven’t found anything specific that would suggest this shouldn’t work in Vue files.

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

No branches or pull requests

1 participant