0

Ability to import custom code syntax coloring rules

Hyper Sonic 17 hours ago • 0

I'm working with Godot (GDScript) and noticed the lack of syntax coloring in diff view (file compare).

I was about to open a request to specifically add Godot syntax coloring natively (which would be great too, btw), but I wondered if a more generic solution to allow the community to define syntax coloring rules and importing them wouldn't be even better to cover more cases.

However, I don't know about standard syntax coloring rules format (I only saw specific formats used by each and every application). If such a thing exists, it would be great. Otherwise you'll have to share your syntax coloring definition and the users will have to write them for Godot, etc.

Until then we'll have to rely on language popularity, which is OK but can greatly vary. For instance, CMake and Swift were added in 2017 but those requests are still open:

https://smartgit.userecho.com/communities/1/topics/421-syntax-highlighting-support-for-dataflex-language

https://smartgit.userecho.com/communities/1/topics/188-syntax-highlighting-support-for-vb-language

File compare