mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 08:07:49 +00:00
Bash Debug had no entry in the missing-adapter table, so a shell script debug session without it failed with a plain error pointing at mason.nvim. The install hints of the debuggers OpenIDEA installs itself (CodeLLDB, vscode-js-debug, Kotlin Debug Adapter, netcoredbg, Bash Debug) now point to Settings › Languages & Frameworks › Language Servers, in languages/*.toml and in ide-dap's built-in definitions.
27 lines
601 B
TOML
27 lines
601 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"
|
||
scratch-template = '''
|
||
fn main() {
|
||
$END$
|
||
}
|
||
'''
|
||
|
||
[[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 CodeLLDB in Settings › Languages & Frameworks › Language Servers"
|