Skip to content

Enable delayOpenNotifications=true with LSP client vNext to prevent redundant didOpen/didClose notifications to server #5176

@DanTup

Description

@DanTup

See microsoft/vscode-languageserver-node#848 (comment)

textSynchronization: {
	delayOpenNotifications: true,
},

This will prevent redundant didOpen/didClose events being sent from VS Code to the LSP server when holding Ctrl and hovering over something (which triggers some work for the open file, such as sending outline notifications etc.).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions