Home Download Buy Blog Forum Support

Toggle comments not working for Groovy files

Toggle comments not working for Groovy files

Postby danpolites on Thu Sep 29, 2011 12:05 pm

The shortcut keys and the menu items to toggle comments for .groovy files do not work. They weren't working in the last version and they still aren't working in the new version. The commands work fine for some of the other file types that I tried, such as html and XML. Is there something that I need to do to get these to work? I'm using build 2126 of sublime text 2.
danpolites
 
Posts: 1
Joined: Mon Jul 25, 2011 11:44 am

Re: Toggle comments not working for Groovy files

Postby nachos on Fri Feb 03, 2012 4:31 pm

Hey, wondering if you were able to find an answer to this?

I'm using build 2165 and I'm still having issues commenting with groovy files. Toggle comments does not work and I have to enter comments manually.
Toggle comments works fine on Java, GSP and XML files so it's frustrating that it doesn't work for Groovy files!

Thanks
nachos
 
Posts: 2
Joined: Fri Feb 03, 2012 4:25 pm

Re: Toggle comments not working for Groovy files

Postby nachos on Tue Feb 07, 2012 3:12 pm

I was able to find a work-around for this. I copied over the Comments.tmPreferences file from the Java package over to the Groovy package. Opened it up and renamed 'source.java' to 'source.groovy'.
Worked like a charm!

To find the packages (in OSX) go to Sublime Text 2 -> Preferenecs -> Browse Packages
nachos
 
Posts: 2
Joined: Fri Feb 03, 2012 4:25 pm

Re: Toggle comments not working for Groovy files

Postby jheiss on Thu Apr 12, 2012 7:34 pm

Awesome, thanks. Hopefully that will get incorporated into a future release.
jheiss
 
Posts: 5
Joined: Wed Nov 02, 2011 1:51 pm

Re: Toggle comments not working for Groovy files

Postby dcdigital72 on Tue Jul 03, 2012 4:33 pm

Thank you for this...saved me a bit of frustration. Glad I decided to check the forum before digging into the groovy preferences! :)
dcdigital72
 
Posts: 1
Joined: Tue Jul 03, 2012 4:28 pm

Re: Toggle comments not working for Groovy files

Postby cpritchett on Wed Feb 27, 2013 11:23 pm

Yes. Please add this to the build!
cpritchett
 
Posts: 1
Joined: Wed Feb 27, 2013 5:49 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 28 guests