Home Download Buy Blog Forum Support

Adding not listed syntax and autocompletion

Adding not listed syntax and autocompletion

Postby zery on Tue Oct 09, 2012 10:13 am

Hi,

Freshly new here as a member, could you direct me how can I add my not listed syntax and autocompletion function in Sublime, I really love using Sublime and want to get the most of it :D

Thanks
zery
 
Posts: 1
Joined: Tue Oct 09, 2012 10:03 am

Re: Adding not listed syntax and autocompletion

Postby kirkwood on Mon Jul 14, 2014 11:55 pm

zery wrote:Hi,

Freshly new here as a member, could you direct me how can I add my not listed syntax and autocompletion function in Sublime, I really love using Sublime and want to get the most of it :D

Thanks


Sorry to dig up an old thread. I'm searching the forums and am also Looking to do the same here. I'm trying to do this for Lua and add in our own language definitions. Trying to Use JSON and the AAAPackageBuilder. The instructions are not clear.
kirkwood
 
Posts: 3
Joined: Tue Jul 08, 2014 11:30 pm

Re: Adding not listed syntax and autocompletion

Postby Clams on Tue Jul 15, 2014 8:37 am

Have you looked at http://sublimetext.info/docs/en/extensi ... xdefs.html or http://sublime-text-unofficial-document ... xdefs.html ?

I never used this package myself, I found the xml syntax easy enough to use it directly : in your case, since there is already a support for Lua, the simplest approach is tsimply to copy the exisiting one and add your need. You can extract the lua.tmLanguage from Packages\Lua.sublime-package (in the install dir, not the user dir), it is simply a zip file. Put the lua.tmLanguage in your user directory, and then it should appear in the list of language under user.
Clams
 
Posts: 47
Joined: Fri Dec 30, 2011 7:44 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 11 guests