TypeScript: TS Server seems to momentarily get out of sync with VS Code edits

Bug Report

πŸ”Ž Search Terms

  • vs code
  • update opened
  • provideInlayHints
  • inlay hints

πŸ•— Version & Regression Information

Tested in 4.4.0-dev.20210802

πŸ› Bug

Not 100% reproducible but I’ve attached the logs from the following repo:

  1. Enable parameter hints
  2. In the VS Code codebase, open https://github.com/microsoft/vscode/blob/b2142b93e0a0fb37f0a00a46a8474daea2ec8a0f/extensions/markdown-math/notebook/katex.ts#L1
  3. Go to the end of the very first line
  4. Quickly type 123

I believe that after typing 3, the parameter hints and semantic highlighting all shifted left. Here is the log from this: corrupt.log

Screen Shot 2021-08-03 at 10 03 50 PM

This may very well be a VS Code issue but I need help looking through the logs to figure out what is going on

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 16 (16 by maintainers)

Most upvoted comments

I’m currently seeing this constantly while typing comments

recording (18)

β€œconsistent” is not a word I would use. I essentially have to destroy my keyboard to press enough buttons fast enough to trigger the issue.

This would happen if LS and server go out of sync and ls operation was invoked without synchronized data from project …