I'm a longtime user of TeXnicCenter. I like the fact that there's a keyboard shortcut I can use to comment or uncomment large blocks of text (Ctrl-Q and Ctrl-W, respectively). Are there other LaTeX editors for Windows 7 that also have this feature?
Asked
Active
Viewed 2,977 times
1
3 Answers
4
In Winedt use Ctrl+Shift+Alt+→ to comment a line and to uncomment a line use Ctrl+Shift+Alt+←.
Werner
- 603,163
-
1Four-key shortcuts?!? Does anyone else find that excessive? I block comment/ uncomment code hundreds of times a day when writing code. Is that really unusual behaviour? A four-key "shortcut" suggests it's not expected to be used very often. – SSilk Mar 26 '17 at 19:45
-
ToggleComment, a WinEdt macro, allows you to (un)comment blocks using Ctrl + Q – Arturo Moncada-Torres Mar 19 '20 at 15:00
1
All of them. Unless you count Notepad. Seriously, I dare you to find a single LaTeX editor that does not. I use TexWorks. The shortcut there is a bit annoying since it requires 3 fingers: ctrl+shift+] and ctrl+shift+[
Mark
- 1,393
-
2
-
Since I have to press
AltGr+9 to get], also one should assume a four finger shortcut on my Scandinavian keyboard, butctrl+shift+altgr+9gives me9. – Sveinung Mar 02 '15 at 22:16 -
@karlkoeller It's a bit annoying as commenting and uncommenting are pretty frequent. – Imran Dec 29 '21 at 03:51
Ctrl+kfor commenting andShift+Ctrl+kto uncomment. – Martin Heller Mar 02 '15 at 21:27