Файли
openidea/languages/objective-cpp.toml
T
LU XIANGRUIтаwildcatDownstairs 7237a37104 feat(language): bundle the Objective-C tree-sitter grammar for outline, folding and symbols (#7027)
Bundles tree-sitter-objc (MIT) with an outline query for Objective-C and Objective-C++: @interface/@implementation/@protocol blocks, categories, methods named by selector, properties, instance variables, C declarations and #pragma mark labels, so the Structure view, folding and the symbol index work for .m and .mm files. The built-in syntax-error diagnostics skip both languages, since the grammar misreads Apple's macros and C++.

Closes #7026

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-30 21:29:33 +08:00

21 рядки
593 B
TOML

id = "objective-cpp"
name = "Objective-C++"
extensions = ["mm"]
line-comment = "//"
block-comment = ["/*", "*/"]
indent = { tab-size = 4, insert-spaces = true }
ui-mode = "Objective-C++"
tree-sitter = "objc"
[[language-servers]]
name = "clangd"
command = "clangd"
args = ["--background-index"]
root-markers = ["compile_commands.json", "compile_flags.txt", ".clangd"]
install-hint = "Install clangd (LLVM): brew install llvm"
[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"