I can't find any shortcuts for comment my code in Aptana Studio 3.0. I need shortcuts both to comment individual lines and for commenting selected blocks of code.
Some have told me to try to comment with shortcut WIN + /
on my Windows OS but that does not appear workable.
CSS allows only multi-line comments. In Aptana 3 just select a region you would like to comment out and use ctrl + shift + / .
If you select a block of code and use the key sequence Ctrl+K+C, you'll comment out the section of code. Ctrl+K+U will uncomment the code.
I was having the same problem, looks like the keyboard makes the shortcut Shift-Ctrl-/ and similar ones completely useless (for the slash character) and Aptana does not allow you to change those shortcuts.
I used Ctrl-7 and works for any type of code you are selecting, if you want to un-comment just repeat the command.
It depends on which language you're writing in (is this CSS, Javascript, HTML?)
For Javascript:
The standard Java commenting shortcuts are:
You can always find out shortcuts by hitting Ctrl-shift-l, which will bring up a list of all currently available shortcuts. They will change depending on if you have anything selected, what type of file you're editing, etc. Look for "Add comments", "Toggle block comments", "Toggle JS comments", and so forth.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With