Option to control workspaceFolders
in InitializeParams
#1470
Labels
feature-request
Request for new features or functionality
Milestone
Sorry for opening an issue to ask questions.
We (Go extension) are using this client library to interact with the go language server. Currently the server assumes all workspace folders have
file://
-scheme. In vscode, however, that's not always true - some extensions register virtual file systems and their folders can be added as workspace folders. I hoped that we could use the WorkspaceFolderMiddleware. But, I suspect this is not used when populating theworkspaceFolders
property of theinitializeParams
.The WorkspaceFolderFeature's fillInitalizeParam calls
vscode.workspace.workspaceFolders
directly.vscode-languageserver-node/client/src/common/workspaceFolder.ts
Line 56 in 31fe8fe
Are there other paths that I can use to filter out non-file type folders when building the initialize request message?
The text was updated successfully, but these errors were encountered: