Skip to content

VSCode and intellisense are broken and unstableย #32033

Closed
@CyriacBr

Description

@CyriacBr
  • VSCode Version: 1.35.5
  • OS Version: Linux Elementary OS

Steps to Reproduce:

  1. Open a TS project with VSCode.
  2. Either:
    *Remove the node_modules folder
    *Reinstall/delete/add a new npm package
    *Use npm/yarn link
  3. Intellisense breaks. When removing packages, you will get a bunch of errors, which is normal. But installing back everything doesn't update TS state.
    Somehow VSCode bugs and gets stuck at a previous state. In the case of npm link sometimes it doesn't recognize the package being added.
    When that happens, in most cases, TS server shuts down and any Intellisense feature is infinitely "Loading..." when required.
    Though, sometimes things work out when I trigger autocomplete and everything is back to normal.

I have to restart VSCode or the TS Server all the time to refresh intellisense.
It just seems that VSCode cannot reliably react to any kind of file changes.

It's been like that since forever as far as I recall, however, the last few updates just made things worse I guess. I've never had a 100% reliable TS experience.
With the latest update, syntax highlighting stops working randomly too.

Does this issue occur when all extensions are disabled?: Yes it does.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions