about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-08-19 08:58:08 -0400
committerRalf Jung <post@ralfj.de>2022-08-19 08:58:08 -0400
commitc5455d1af3aee9fa73d10fd8e7043098472fe070 (patch)
treeee6f10609f974856e1063c69d2d4921e61e3c218
parent4af9829dcfe906cbe04aba247bc3759cab787a9e (diff)
downloadrust-c5455d1af3aee9fa73d10fd8e7043098472fe070.tar.gz
rust-c5455d1af3aee9fa73d10fd8e7043098472fe070.zip
explain how to re-generate the package.json
-rw-r--r--crates/rust-analyzer/src/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index 35df7663be2..6649f42b4ef 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -45,7 +45,8 @@ mod patch_old_style;
 //  - foo_command = overrides the subcommand, foo_overrideCommand allows full overwriting, extra args only applies for foo_command
 
 // Defines the server-side configuration of the rust-analyzer. We generate
-// *parts* of VS Code's `package.json` config from this.
+// *parts* of VS Code's `package.json` config from this. Run `cargo test` to
+// re-generate that file.
 //
 // However, editor specific config, which the server doesn't know about, should
 // be specified directly in `package.json`.