We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to subscribe to onDidChangeWorkspaceFolders in the server part of my extension.
onDidChangeWorkspaceFolders
I changed:
const connection: IConnection = createConnection(new IPCMessageReader(process), new IPCMessageWriter(process));
To:
const connection = createConnection(ProposedFeatures.all);
To get access to connection.workspace.onDidChangeWorkspaceFolders. I have no idea if that should be done.
connection.workspace.onDidChangeWorkspaceFolders
Now, when I run the extension, I get:
Error: Client doesn't support sending workspace folder change events.
I have no idea how to fix this. I can't find any relevant samples either.
The text was updated successfully, but these errors were encountered:
@dbaeumer this sounds like language-server related, so moving to you.
Sorry, something went wrong.
@glen-84 I have updated the example lsp-multi-root-sample to demo this. Have a look at the initialized hook in the server.ts file.
dbaeumer
No branches or pull requests
I'm trying to subscribe to
onDidChangeWorkspaceFolders
in the server part of my extension.I changed:
To:
To get access to
connection.workspace.onDidChangeWorkspaceFolders
. I have no idea if that should be done.Now, when I run the extension, I get:
I have no idea how to fix this. I can't find any relevant samples either.
The text was updated successfully, but these errors were encountered: