Home Download Buy Blog Forum Support

Problem with creating language definition in Sublime Text 3

Problem with creating language definition in Sublime Text 3

Postby Grelek on Sat Aug 03, 2013 9:47 pm

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.
Grelek
 
Posts: 1
Joined: Sat Aug 03, 2013 9:41 pm

Re: Problem with creating language definition in Sublime Text 3

Postby skuroda on Sun Aug 04, 2013 12:01 am

AAAPackageDev is not compatible with ST3.

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

Code: Select all
{ "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.
skuroda
 
Posts: 687
Joined: Fri Oct 05, 2012 8:11 am

Re: Problem with creating language definition in Sublime Text 3

Postby bphunter1972 on Mon Oct 14, 2013 6:32 pm

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?
bphunter1972
 
Posts: 16
Joined: Mon Mar 25, 2013 5:02 am
Location: San Jose, CA USA

Re: Problem with creating language definition in Sublime Text 3

Postby facelessuser on Mon Oct 14, 2013 7:19 pm

facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 3 guests