дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
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]>
21 рядки
593 B
TOML
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"
|