Skip to content

Project References support #2148

Closed
Closed
@ziggi

Description

@ziggi

Describe the bug

I'm using TypeScript's Project References and it's looks like Svelte extension didn't work with it.

Extension output:

Initialize language server at  file:///d%3A/dev/svelte-ts-projects
Initialize new ts service at  d:/dev/svelte-ts-projects/tsconfig.json
Trying to load configs for d:/dev/svelte-ts-projects
Loaded config at  d:\dev\svelte-ts-projects\proj1\svelte.config.js
SnapshotManager File Statistics:
Project files: 0
Svelte files: 1
From node_modules: 0
Total: 1

Reproduction

Clone https://github.com/ziggi/svelte-ts-projects
Open it in VS Code and open svelte-ts-projects\proj1\svelte\TestComponent.svelte file.
You will see Cannot find module '@shared/SharedTest' or its corresponding type declarations.

Expected behaviour

It should just work.

System Info

Svelte for VS Code v107.10.0

Version: 1.78.2 (user setup)
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:39:26.248Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions