I'm encountering an issue with the Go to Definition (GTD) feature in vscode while working on my Vue project (typescript) within a workspace. Strangely, GTD works fine when the project is opened as a standalone folder. The typescript-based server-side programming within the workspace also has no issues with GTD, despite having a similar tsconfig file.
Attached are the Workspace and tsconfig files for reference. This Vue project was created using vue-cli v3. Please let me know if there's any other information I should provide.
For example, consider these imports within a .vue file:
import IProjectSlot from '@/interfaces/IProjectSlot';
import Container from '@/components/Container.vue';
import ProjectSlot from '@/components/ProjectSlot.vue';
When using CTRL + Click, it only shows references within the current file rather than navigating to the actual implementation. Any thoughts on resolving this mystery?
Workspace.code-workspace
{
"settings": {
// Settings here
}
}
tsconfig.json
{
"compilerOptions": {
// Compiler options here
},
"include": [
// Included files here
],
"exclude": [
"node_modules"
]
}