дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
Open .ino sketches with C++ highlighting and the C++ file icon. Sketches get their own Arduino language with no language server: clangd can't compile a sketch on its own (implicit Arduino.h, generated prototypes) and reported "Unable to handle compilation" on line 1 of every sketch. Co-authored-by: mushketer888 <[email protected]>
11 рядки
356 B
TOML
11 рядки
356 B
TOML
id = "arduino"
|
|
name = "Arduino"
|
|
# Sketches are C++ with an implicit `Arduino.h` and generated prototypes; clangd can't compile
|
|
# them on its own, so they get C++ highlighting without a language server.
|
|
extensions = ["ino"]
|
|
line-comment = "//"
|
|
block-comment = ["/*", "*/"]
|
|
indent = { tab-size = 2, insert-spaces = true }
|
|
ui-mode = "C++"
|
|
tree-sitter = "cpp"
|