Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Syntax Highlighting support for .wps, .sbs & .fms files.
« previous next »
  • Print
Pages: [1]

Author Topic: Syntax Highlighting support for .wps, .sbs & .fms files.  (Read 110 times)

Offline Dook

  • Member
  • *
  • Posts: 8
    • D00k.net
Syntax Highlighting support for .wps, .sbs & .fms files.
« on: December 20, 2022, 03:40:45 PM »
 I've started work on creating a set of syntax highlighting rules for modern text editors, I've started basic but hope to introduce snippets and auto-complete for platforms like Visual Studio and Sublime-Text. As of now, there's only GTKSourceView support which is for gedit and Gnome Text Editor, but I'll be starting more soon. If there's any platforms you'd like this for as well, let me know and I can see what I can do  :)

 It's a little unconventional, but I built the syntax highlighting around making the files as easy to read as possible. Tags are split into general catagories based on what they do. Tags that preload content, like images, fonts and viewports are one category. Then the rest of tags are highlighted differently depending on wether they are being used as a conditional or not. You can see an example from the base theme below.

Github Repo: https://github.com/D0-0K/rockbox-syntax-highlighting/tree/1.0




* exampleimage.png (32.25 kB, 798x276 - viewed 21 times.)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Syntax Highlighting support for .wps, .sbs & .fms files.
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.019 seconds with 17 queries.