June 07, 2012

Kate/KDevelop Syntax Highlighting Style

Github page

Kate/KDevelop syntax highlighting style for Arduino code

Usage:

  • Download and copy “ArduinoKate.xml” to $HOME/.kde/share/apps/katepart/syntax/
  • (re)start Kate
  • Open a .pde or .ino file in Kate
  • Syntax highlighting should be enabled automatically

Tweaking:

To highlight your own libraries change the following lines in the .xml file * <item> addUserClassesHere </item> * <item> addUserMethodsHere <item> * <item> addUserObjectsHere <item>

Screenshot:

Screenshot

Usage:

  • Download and copy “ArduinoKate.xml” to $HOME/.kde/share/apps/katepart/syntax/
  • (re)start Kate
  • Open a .pde or .ino file in Kate
  • Syntax highlighting should be enabled automatically Serial monitor screenshot