You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: