-
Notifications
You must be signed in to change notification settings - Fork 377
Closed
Milestone
Description
Might be similar to #1128
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.78.2 (also insiders)
- OS Version: Windows/macOS
This problems exists from 1.68.0. in 1.67.0 everything seems to be fine.
- Extension code to reproduce:
// most probably you want to register it to some command
const testContent = '{test: 5}'
vscode.workspace
.openTextDocument({
content: testContent,
language: 'json',
})
.then(async doc => {
await vscode.window.showTextDocument(doc)
})- Run the code
Actual: Diagnostics are present
Expected: Both editors have diagnostics
Text changes doesn't produce diagnostics in these editors. Of course, after reload diagnostics will be there.
### Tasks