mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
activate extension if Cargo.toml is present
This commit is contained in:
parent
97a87bf3a6
commit
6ef614f785
@ -46,7 +46,8 @@
|
||||
"activationEvents": [
|
||||
"onLanguage:rust",
|
||||
"onCommand:rust-analyzer.analyzerStatus",
|
||||
"onCommand:rust-analyzer.collectGarbage"
|
||||
"onCommand:rust-analyzer.collectGarbage",
|
||||
"workspaceContains:**/Cargo.toml"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"contributes": {
|
||||
|
Loading…
Reference in New Issue
Block a user