-
Notifications
You must be signed in to change notification settings - Fork 227
read content of keywords.txt for text highlights #613
Comments
+1 This would be a very interesting feature 👍 |
VS Code seems not support dynamical syntax highlighting currently. We leave this issue in backlog and ask VS Code team if they can do something for this feature request. |
What do you mean exactly with "dynamical"? Would it be possible to load it only at startup of vscode? Arduino IDE load all the keywords.txt files only at startup, a similar behaviour would be ok |
Keywords needs be pre-defined in the extension in package.json, but not load from external files. See https://code.visualstudio.com/docs/extensionAPI/language-support#_syntax-highlighting |
mmm clear, ok let's see what can be done |
Just saw this as I'm currently working hard on a proper IntelliSense implementation (currently alpha testing), see #438 and my branch notes. This will become obsolete as soon as latter is integrated. Added it to my list of related issues. Regards, |
Agree with @elektronikworkshop, IntelliSense features, which need improvement, should provide the same but better functionality than the keywords.txt file. Reactivate if there is something I'm missing in this request. |
hello,
arduino uses a file inside the library folder caller "keywords.txt" used to generate some highlights for the function's names, costants, class and more
please see:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
here there is the arduino core keywords.txt:
https://github.com/arduino/Arduino/blob/master/build/shared/lib/keywords.txt
here an example from a library i wrote:
https://github.com/aster94/GoProControl/blob/master/keywords.txt
The text was updated successfully, but these errors were encountered: