Sublime Forum

Create a theme for a custom file type

#1

Hi!

I wonder if someone could tell me, or link me to a place where someone can tell me (video, previous topic etc)

My question is how I create a simple theme that I can use in sublime. But the file type is not any famous one. I want to create a theme for a file type called .mcfunction - Currently, it runs plain text. So how do I do so that for example, numbers get green or some words highlight etc, I assume that is the easiest way.

Thanks in advance!

0 Likes

#2

You can do this by creating a syntax definition.

http://www.sublimetext.com/docs/3/syntax.html

You may also be interested in the MCFunction package.

0 Likes