Sublime Forum

Linux groovy toggle comments broken

#1

There are several other threads on the forum but they’re older and seem to be mostly mac-oriented.

This is Ubuntu 14.04 using the sublime-text-installer PPA, sublime text 3 build 3083.

I can’t use the keyboard to toggle single-line or block comments, and likewise the menu selections don’t work either.

I can toggle comments on other file types.

I tried changing shortcut key to ctrl-7 as suggested in one post, and I tried copying the Java package over to the Groovy package, and change the source.java line to source.groovy. I tried the first instance, the second instance and then all instances – there were quite a few. Nothing worked.

As of this moment I’ve reverted the Groovy package and the comment keyboard shortcut.

Thanks.

0 Likes

#2

I’m also very interested in a solution for this. Specially with the new language support.

On the meantime, the Grails package seems to have solved the issue quite nicely. On there repo, take a look at the file named Comments.tmPreferences.

Either copy it into your User/Packages folder, or install the plugin :slight_smile:

0 Likes

#3

The grails package was already installed, but I uninstalled it and added it again and groovy comments are working on ST3.

So the answer in short is to add the grails package from package control, and you get groovy comments toggling again.

Thanks.

0 Likes