aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/rust_project_json.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/rust_project_json.md')
-rw-r--r--docs/markdown/snippets/rust_project_json.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/rust_project_json.md b/docs/markdown/snippets/rust_project_json.md
new file mode 100644
index 0000000..e87a7db
--- /dev/null
+++ b/docs/markdown/snippets/rust_project_json.md
@@ -0,0 +1,5 @@
+## Generates rust-project.json when there are Rust targets
+
+This is a format similar to compile_commands.json, but specifically used by the
+official rust LSP, rust-analyzer. It is generated automatically if there are
+Rust targets, and is placed in the build directory.