Sublime Forum

Problem with creating language definition in Sublime Text 3

#1

Hello,

I followed instructions in this tutorial. And I have problem with the plugin. I installed it, I see it in menu, but I can’t click on any option - they’re disabled.
Does anybody know what’s this? I just want to create new language definition.

0 Likes

#2

AAAPackageDev is not compatible with ST3.

But here’s the JSON version of what it is trying to create.

{ "name": "Syntax Name", "scopeName": "source.syntax_name", "fileTypes": ""], "patterns": ], "uuid": "efb5dd46-8c43-4503-8d52-cbf691a8ac29" }

I use PlistJsonConverter to convert between XML and JSON. Be sure you use the ST3 branch of that project. You can do this by adding the ST3 branch URL as a repository to package control, then installing normally, Alternatively, you can git clone the repo and checkout the ST3 branch.

0 Likes

#3

Where does the uuid come from? I’m fine with cutting and pasting this text into the JSON file, but how do I generate these numbers?

0 Likes

#4

Use this to generate UUIDs: sublime.wbond.net/packages/GenerateUUID

0 Likes