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

Text Editors

457 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.

all 18 comments
sorted by: hot top controversial new old
[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] zygo_histo_morpheus 4 points 1 year ago
[–] bsdGuy0 3 points 1 year ago

I would use VIM, personally. It may take some getting used to, but once you get it, it can be very useful. (VIM does have syntax highlighting, by the way)