slynch8 / 10x

10x IDE/Editor
193 stars 35 forks source link

How to integrate custom language highlight? #1579

Open krupitskas opened 1 year ago

krupitskas commented 1 year ago

Hey! I really love 10x editor and actually I want to integrate couple of custom in home languages for the team to push editor more. For Sublime/VSCode there textmate grammar support per language. What is the solution for 10x?

skejeton commented 1 year ago

I agree with this, I'm considering getting this editor (previously I used betas, but now I use the trial version after 1.0.0). And whether I'll buy a license or not for me deal braker would be not having custom highlight. I write my game in C and the custom game language for the rest of the code. I just need syntax a highlighter.

This editor has geniunely among the best C and C++ support, even if it's not as mature as the rest

slynch8 commented 1 year ago

You can add custom languages using the syntax highlighting files, they can be found here: %appdata%\10x\Settings\SyntaxHighlighting\ Hopefully it's fairly self explanatory but let me know if you have any questions.

skejeton commented 1 year ago

Checked it out. I must say it's an incredibly easy format compared to other grammar formats I've used, thank you ^^