Maybe title is a little bit sophisticated, but situation is simpler:
In Sublime text 2 for the ‘Java Properties’ scope (for the files with ‘*.properties’ extension) doesn’t work shortcut ‘comment a line’ (Ctrl+/ in Win).
So maybe someone knows how to implement this functionality? I’ve tried, but ‘Java Properties’ doesn’t have separate package and this is confused me.
use case:
-> label.quantity = Quantity
-> (Ctrl+/)
-> #label.quantity = Quantity
that’s it.
I was trying to find a solution to the same problem, and came up with a solution which works for me. It is possible to have multiple files in the same package which specify comments, so I added another file called
Comments-properties.tmPreferences, in the Java package with these contents: