-
-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi from JetBrains,
The LSP spec deprecates InitializeParams.rootUri in favour of workspaceFolders.
I noticed that rootUri is used unconditionally in the tw.ts file.
This causes the following problem. The IDE sends the initialize request as follows:
{
"method": "initialize",
"params": {
...
"rootUri": null,
"workspaceFolders": [
{
"uri": "file:///foo/bar",
"name": "bar"
},
{
"uri": "file:///foo/baz",
"name": "baz"
}
]
}
}
and the server fails to initialize, it says No workspace folders found, not initializing.
In my understanding, if workspaceFolders is given, the server should ignore rootUri.
rahmanroman
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working