Sublime Forum

Comment line on windows 7 x64

#1

comment line with: CTRL + /

not work in windows 7 professional x64, why?

thanks.

0 Likes

#2

I’m running ST2 v2.0.1 (build 2217) Windows 7 Pro 64-bit on two different machines and the Ctrl + / keyboard shortcut works perfectly for single and multi-line comments.
I think you’ll have to give us a bit more information about your setup.
What version of ST2 are you running?
Do you notice this behavior in all languages, or just a certain one?

0 Likes

#3

I’ve had issues with the ctrl + / in certain files at certain times. It’s buggy when I’m editing a .less file, and it will not work if I try to comment out script tags that are inside of html files. Those are the only cases I can remember right now, but I’ll add more if I find them.

0 Likes

#4

is ST2 v2.0.1 (build 2217), language is Spanish (latin america).

0 Likes

#5

What about code languages e.g. Python, C++, etc.
Or maybe you have a plugin that uses Ctrl + / for something else?

Although I can’t think of why it would be, make sure this line is in your default key bindings (Preferences -> Key Bindings - Default):
{ “keys”: “ctrl+/”], “command”: “toggle_comment”, “args”: { “block”: false } },

Also check your user key bindings and make sure that you don’t have it bound to anything else.

0 Likes