mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
22 lines
576 B
TOML
22 lines
576 B
TOML
id = "rust"
|
|
name = "Rust"
|
|
extensions = ["rs"]
|
|
line-comment = "//"
|
|
block-comment = ["/*", "*/"]
|
|
indent = { tab-size = 4, insert-spaces = true }
|
|
ui-mode = "Rust"
|
|
tree-sitter = "rust"
|
|
|
|
[[language-servers]]
|
|
name = "rust-analyzer"
|
|
command = "rust-analyzer"
|
|
root-markers = ["Cargo.toml", "rust-project.json"]
|
|
install-hint = "rustup component add rust-analyzer"
|
|
|
|
[debugger]
|
|
adapter = "codelldb"
|
|
command = "codelldb"
|
|
args = ["--port", "${port}"]
|
|
transport = "tcp"
|
|
install-hint = "Install the CodeLLDB adapter (https://github.com/vadimcn/codelldb/releases) and put `codelldb` on PATH"
|