mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #9709
9709: fix: add capability for "open cargo.toml" lsp extension r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
2c638a467e
2 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
|
||||||
moniker_provider: None,
|
moniker_provider: None,
|
||||||
experimental: Some(json!({
|
experimental: Some(json!({
|
||||||
"joinLines": true,
|
"joinLines": true,
|
||||||
|
"openCargoToml": true,
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
"onEnter": true,
|
"onEnter": true,
|
||||||
"parentModule": true,
|
"parentModule": true,
|
||||||
|
|
|
@ -619,6 +619,8 @@ Such actions on the client side are appended to a hover bottom as command links:
|
||||||
|
|
||||||
**Issue:** https://github.com/rust-analyzer/rust-analyzer/issues/6462
|
**Issue:** https://github.com/rust-analyzer/rust-analyzer/issues/6462
|
||||||
|
|
||||||
|
**Experimental Server Capability:** `{ "openCargoToml": boolean }`
|
||||||
|
|
||||||
This request is sent from client to server to open the current project's Cargo.toml
|
This request is sent from client to server to open the current project's Cargo.toml
|
||||||
|
|
||||||
**Method:** `experimental/openCargoToml`
|
**Method:** `experimental/openCargoToml`
|
||||||
|
|
Loading…
Reference in a new issue