Skip to content

Client requests diagnostics after didClose #1771

@DanielRosenwasser

Description

@DanielRosenwasser

Similar to #1717.

If you open up an anonymous buffer, identify it as TypeScript, type some text, and save the file, you will occasionally end up with a log that looks like the attached file.

Basically the sequence is:

  1. User saves an untitled buffer to someFile.ts
  2. Client sends modification notifications:
    1. didOpen: someFile.ts
    2. didChange: someFile.ts
    3. didSave: someFile.ts
    4. didChange: Untitled file
    5. didClose: Untitled file
  3. Client then sends
    1. diagnostics: someFile.ts (fine)
    2. diagnostics: Untitled file (minimally unnecessary, our LSP server responds with an error)

loggy.log

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions