Commit 106d72c
project: Add dynamic capabilities registration for "workspace/didChangeWorkspaceFolders" (zed-industries#37005)
Fixes missing capability registration for
"workspace/didChangeWorkspaceFolders".
```
WARN [project::lsp_store] unhandled capability registration: Registration { id: "e288546c-4458-401a-a029-bbba759d5a71", method: "workspace/didChangeWorkspaceFolders", register_options: Some(Object {}) }
```
We already correctly send back events to server on workspace add and
remove by checking this capability.
https://github.com/zed-industries/zed/blob/cf89691b85e4652093548c0bf8b79d881e26562b/crates/lsp/src/lsp.rs#L1353
https://github.com/zed-industries/zed/blob/cf89691b85e4652093548c0bf8b79d881e26562b/crates/lsp/src/lsp.rs#L1388
Release Notes:
- N/A1 parent 7ad0158 commit 106d72c
2 files changed
+28
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
1386 | | - | |
| 1386 | + | |
| 1387 | + | |
1387 | 1388 | | |
1388 | 1389 | | |
1389 | 1390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11702 | 11702 | | |
11703 | 11703 | | |
11704 | 11704 | | |
| 11705 | + | |
| 11706 | + | |
| 11707 | + | |
| 11708 | + | |
| 11709 | + | |
| 11710 | + | |
| 11711 | + | |
| 11712 | + | |
| 11713 | + | |
| 11714 | + | |
| 11715 | + | |
| 11716 | + | |
| 11717 | + | |
| 11718 | + | |
11705 | 11719 | | |
11706 | 11720 | | |
11707 | 11721 | | |
| |||
11944 | 11958 | | |
11945 | 11959 | | |
11946 | 11960 | | |
| 11961 | + | |
| 11962 | + | |
| 11963 | + | |
| 11964 | + | |
| 11965 | + | |
| 11966 | + | |
| 11967 | + | |
| 11968 | + | |
| 11969 | + | |
| 11970 | + | |
| 11971 | + | |
| 11972 | + | |
11947 | 11973 | | |
11948 | 11974 | | |
11949 | 11975 | | |
| |||
0 commit comments