VSCode and intellisense are broken and unstable · Issue #32033 · microsoft/TypeScript (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@CyriacBr

Description

@CyriacBr

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.