-
Greetings, I am currently attempting to adapt an extension (pio assembly syntax highlighting) and I was hoping that there is a possibility, that I can forward syntax highlighting for the embedded c-code towards vscode-cpptools. The extension would then have a dependency enabled, requiring 'vscode-cpptools', but that would be enabled on most if not all users, given that the target language will mostly be C/C++ The extension uses grammar rules written in However, I was missing the functionality to have the extension also run on a remote host (such as a raspberry pi) and am currently working on adding that. In the course of this, I thought it would also be nice, if the embedded c-code from those And that's where I am now. ChatGPT suggested adding this to the language patterns: {
"begin": "%c-sdk \\{",
"end": "%\\}",
"name": "embedded.c.code",
"contentName": "pio-source.c",
"patterns": [
{
"include": "pio-source.c"
}
]
} But I doubt that is enough to get it to work. Any insight & help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
closed due to: #11732 |
Beta Was this translation helpful? Give feedback.
closed due to: #11732