You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The protocol currently specifies that the workspace.workspaceFolders client capability is simply a boolean, but then it isn't clear how a server can tell whether an editor supports dynamic registration for the workspace/didChangeWorkspaceFolders notification.
In fact, it isn't clear which client capability maps to the workspace/didChangeWorkspaceFolders request. Based on the VS Code implementation it seems that editors that supports workspace/workspaceFolders should also support workspace/didChangeWorkspaceFolders (?).
Yes, this was always the assumption. If a client supports workspace folder it supports change notifications. I would like to keep it that way and rather doc in the spec since changing this might break existing servers.
Yes, this was always the assumption. If a client supports workspace folder it supports change notifications. I would like to keep it that way and rather doc in the spec since changing this might break existing servers.
Okay I understand that, but there's still no information in the client's capabilities about dynamic registration support for the workspace/didChangeWorkspaceFolders notification.
Activity
MariaSolOs commentedon Apr 28, 2025
In fact, it isn't clear which client capability maps to the
workspace/didChangeWorkspaceFolders
request. Based on the VS Code implementation it seems that editors that supportsworkspace/workspaceFolders
should also supportworkspace/didChangeWorkspaceFolders
(?).WorkspaceFoldersClientCapabilites
microsoft/vscode-languageserver-node#1627WorkspaceFoldersClientCapabilities
#2134dbaeumer commentedon May 5, 2025
Yes, this was always the assumption. If a client supports workspace folder it supports change notifications. I would like to keep it that way and rather doc in the spec since changing this might break existing servers.
MariaSolOs commentedon May 5, 2025
Okay I understand that, but there's still no information in the client's capabilities about dynamic registration support for the
workspace/didChangeWorkspaceFolders
notification.