Skip to content

Extension slow to respond #1130

@brunnerh

Description

@brunnerh

Describe the bug
Getting auto-completion, symbol navigation or symbol information can be very slow (tooltip stuck on Loading...).
(It is probably the language server, because the profile from "Running Extensions" does not pick it up as causing CPU load.)

To Reproduce
Invoke commands like "Trigger Suggest" and "Go to Definition".

As for the conditions necessary to cause the slowdown, i am not sure. It may have to do with using carbon-components-svelte/carbon-icons-svelte which introduce a lot of Svelte files.
The "Output" panel shows this for Svelte:

SnapshotManager File Statistics:
Project files: 26022
Svelte files: 7210
From node_modules: 33251
Total: 33276

Expected behavior
Language features are reasonably fast.

Screenshots
image

System (please complete the following information):

  • OS: Windows 10, 64bit
  • IDE: VSCode
  • Plugin/Package: Svelte for VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    perfPerformance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions