Skip to content

I need to restart svelte language server for autoimport to work in new svelte files #2516

@danielo515

Description

@danielo515

Describe the bug

When I create a new svelte component, using typescript as language, I always need to restart the svelte language server in order for automatic imports to work.
Previously it never happened, and just after the restart the automatic imports start to work again.

Reproduction

  1. Create a new svelte file
  2. add a script of lang ts
  3. type the name of a known typescript type/interface
  4. you don't get autoimport suggestions, neither on code actions

Expected behaviour

I want auto imports to work without having to restart svelte server.
I tried this with the minimum amount of extensions and the same problem happens.

System Info

  • OS: MAcOS
  • IDE: VSCODE

Which package is the issue about?

No response

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy