-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Declaration map support (.d.ts.map) to jump to source files #1344
Comments
Bump. It took me nearly a month to find out this is a Volar problem. |
Workaround for now is to use Typescript Vue Plugin instead of Take Over mode. |
Could you provide minimal reproduction? |
|
I just to remove project references and related settings for TypeScript LanguageService and it seems resolved the problem, but not sure if it cause to other problems, so I add a setting and you need clearly config I will keep this issue open until confirm if this workaround is suitable. |
It looks like it's now working with Take Over mode, thank you! |
I am still having the same issues, but I am using coc-volar instead of the vscode extension. I think I was able to pass through the noProjectReferences correctly, but it still doesn't work for me. I don't use project references like in the first repro that was added. @johnsoncodehk added a repro for my case here. If you are not experiencing my issue in vscode with that option enabled, then I must not have passed it down correctly. Otherwise that option doesn't fix it for my case. |
Hi @kalvenschraut, Update the It appears that the |
Updated and appears to not be working with my setup still in my reproduction repo. |
@johnsoncodehk were you able to replicate using my repro? Not sure if there is anything more on my end you would need. |
@kalvenschraut It's because you have set up You can config |
should be resolved with: volarjs/volar.js#24 |
@blake-newman @johnsoncodehk Going to a Vue component in a library that has declaration maps doesn't seem to work in non-take over mode in Vue files, but it does work in ts files, which suggests there is still an issue with declaration map support in Volar. |
In my mono repo I am generating a bunch of .d.ts.map files when running my dev scripts and I am noticing that when I goto definition using the typescript language server it will jump to the .ts source file. While using volar in takeover mode it is jumping to the .d.ts file instead.
I can't find any documentation or other issues stating similar things so figured it either is not supported or there is some issue with my setup. Once I get more time I can get a repro going if this is more specific to my case.
The text was updated successfully, but these errors were encountered: