user1736149
user1736149

Reputation: 55

Monodevelop custom syntax with highlighting

How do I define a custom syntax with highlighting in Monodevelop (v3.0.6) for log files or JSON files. I only could find Syntax_Mode_Definition but it only shows very short snippets which are hard to understand.

Could somebody just show/link a short examlpe how such a file should look like and where it should be put?

Upvotes: 0

Views: 1179

Answers (1)

Mikayla Hutchinson
Mikayla Hutchinson

Reputation: 16153

You can find most of the built-in syntax highlighting definitions here.

To add one, you would have to write an addin that registers the definition and registers the mimetype.

Upvotes: 1

Related Questions