Bug 372862 - Add .cpp syntax highlighting to .ino files
Summary: Add .cpp syntax highlighting to .ino files
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 16.08
Platform: Arch Linux Linux
: NOR task
Target Milestone: ---
Assignee: KWrite Developers
URL: https://phabricator.kde.org/D5645
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-23 22:43 UTC by Rafael Bachmann
Modified: 2018-07-01 15:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
adapted c syntax highlighting file for arduino sketches (12.16 KB, text/xml)
2016-11-23 22:43 UTC, Rafael Bachmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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.