mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-14 16:07:52 +00:00
- Commit panel: the action row wraps at narrow widths, so "Commit and Push…" moves to its own line instead of being cut to "Commit ..."; its tooltip names the action as well as the shortcut. - Console Colors preview: four short lines, so the bright colors no longer run past the preview's right edge. - Language server and debugger install hints are plain text: drop the Markdown backticks that showed up literally. - Appearance: "Accent color", matching the rest of the UI.
29 lines
867 B
TOML
29 lines
867 B
TOML
id = "cpp"
|
|
name = "C++"
|
|
extensions = ["cpp", "cc", "cxx", "c++", "hpp", "hh", "hxx", "h++", "ipp", "tpp", "inl", "ixx", "cppm"]
|
|
line-comment = "//"
|
|
block-comment = ["/*", "*/"]
|
|
indent = { tab-size = 4, insert-spaces = true }
|
|
ui-mode = "C++"
|
|
tree-sitter = "cpp"
|
|
scratch-template = '''
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
$END$
|
|
return 0;
|
|
}
|
|
'''
|
|
|
|
[[language-servers]]
|
|
name = "clangd"
|
|
command = "clangd"
|
|
args = ["--background-index", "--header-insertion=never"]
|
|
root-markers = ["compile_commands.json", "compile_flags.txt", ".clangd", "CMakeLists.txt", "meson.build", "Makefile"]
|
|
install-hint = "Install clangd (LLVM): brew install llvm, apt install clangd, or https://clangd.llvm.org/installation"
|
|
|
|
[debugger]
|
|
adapter = "lldb-dap"
|
|
command = "lldb-dap"
|
|
install-hint = "Install LLVM's lldb-dap (brew install llvm), or on macOS use the one found by xcrun -f lldb-dap"
|