Home Download Buy Blog Forum Support

[solved] Provide comment / uncomment for language

[solved] Provide comment / uncomment for language

Postby layne on Wed Jul 17, 2013 7:05 pm

Hey all,

I'm writing (extending) a language called TypoScript.
Currrently I can't comment or uncomment via Sublime using the menu or shortcut.

Can someone give me a hint why?

Here's the file: https://bitbucket.org/danielsiepmann-te ... at=default
Last edited by layne on Thu Jul 18, 2013 7:00 am, edited 1 time in total.
// my Blog //
layne
 
Posts: 39
Joined: Tue Jan 04, 2011 3:00 pm
Location: NRW // GER

Re: Provide comment / uncomment for language

Postby svenax on Wed Jul 17, 2013 8:42 pm

For that you need a Comments.tmPreferences file together with your language definition. Take a look at the default languages to see how it should be constructed.
svenax
 
Posts: 154
Joined: Tue Dec 20, 2011 12:47 pm

Re: Provide comment / uncomment for language

Postby layne on Thu Jul 18, 2013 6:59 am

Thank you, should look more at existing packages.
// my Blog //
layne
 
Posts: 39
Joined: Tue Jan 04, 2011 3:00 pm
Location: NRW // GER


Return to Plugin Development

Who is online

Users browsing this forum: Google [Bot] and 4 guests