Skip to content

Svelte Language Tools broken #4034

Closed
Closed
@jacob-8

Description

@jacob-8

Bug description

When starting an example workspace using the SvelteKit example from https://www.gitpod.io/#get-started, I receive two VSCode messages: Couldn't start client Svelte and vscode.languages.registerDocumentSemanticTokensProvider is not a function

image

The features of the Svelte for VS Code language tools extension don't work as a result.

Steps to reproduce

Create a new SvelteKit example workspace and watch for the messages in the lower right corner.

Expected behavior

Svelte for VS Code language tools should work (commands like Format Document inside of a .svelte file)

Example repository

No response

Anything else?

If I uninstall Svelte for VS Code (listed currently as v104.9.1) for the project, close the tab (but not the workspace) then re-open the workspace from the dashboard, I notice that Svelte for VS Code is no longer in the "Installed for this project" but is now listed in "Installed for " in the Extensions pane and it works fine. Note that it says v.101.1.1 when going this route.

Not sure if the changes to the extension to support ESM described in sveltejs/language-tools#930 are relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions