this post was submitted on 07 Aug 2023
16 points (100.0% liked)

Text Editors

466 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

Basically just the title said. The situation is basically I use a Domain-Specific Language called G'MIC, and to this day, I haven't found a satisfactory answer to the issue of lack of syntax highlighting. At the moment, I am using KDE Kate as it's pretty good at structuring the code with their find/replace feature, tab indicators, and multi-window support.

you are viewing a single comment's thread
view the rest of the comments
[–] empireOfLove@lemmy.one 5 points 1 year ago (1 children)

Take a look at Sublime Text. It has pretty solid syntax support plus all the other things you need (tabs, structure, tab ind, multi windows) and I'm pretty sure can pretty easily have a custom highlight config written easily if you're already comfortable with code.

[–] CoderKat@lemm.ee 4 points 1 year ago* (last edited 1 year ago) (1 children)

I can second this. I wrote a syntax highlighter for a DSL in Sublime ages ago and all I remember is that it was easy.

That said, you can definitely do this in VS Code, too (just I haven't personally tried it). IMO VS Code is the better editor.

[–] AProfessional@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

VSCode and Sublime use a TextMate-like format and can be converted between the two. I have made language support and recommend VSCode.