Bug 372862

Summary: Add .cpp syntax highlighting to .ino files
Product: [Applications] kate Reporter: Rafael Bachmann <mediumendian>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: task CC: jonathan.poelen
Priority: NOR    
Version: 16.08   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://phabricator.kde.org/D5645
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: adapted c syntax highlighting file for arduino sketches

Description Rafael Bachmann 2016-11-23 22:43:04 UTC
Created attachment 102426 [details]
adapted c syntax highlighting file for arduino sketches

The .ino extension is used for arduino sketches which basically contain c++ code that pretty much looks like c with a builtin bool type. The Arduino IDE has some syntax highlighting but is quite useless as a text editor.

I have attached a simple edit of the c.xml syntax highlighting file from here:

https://kate-editor.org/syntax/5.28/

I hope this can be improved upon and maybe added to the long list of supported highlighting styles. If there is anything I can do to improve the syntax highlighting, let me know.