[RESOLVED] Is there a keyboard shortcut to add "comment block"?
If I do not want to click on the "comment block" button every time?
Is it customizable?
Re: Is there a keyboard shortcut to add "comment block"?
Sorry but its not customizable, it's either every line you will put a single quote ( ' ) at the beginning.
Re: Is there a keyboard shortcut to add "comment block"?
I use the MZTools addin for this kind of functionallity
http://mztools.com/v3/download.aspx
Re: Is there a keyboard shortcut to add "comment block"?
I don't know if there is a way, but you might be able to map a keystroke combination to the button. It's been a long time since I've used the VB6 IDE, so I don't remember if something like that is possible. I remember this being a pain for me at the time too. I don't recall anything in MZTools that addressed this though (and after looking back trhough the features, I don't see anything regarding comment blocking)... Unless there's something about that Arnoutdv knows about it that I don't.
-tg
Re: Is there a keyboard shortcut to add "comment block"?
In MZTools "options" go to Tab "Shortcuts", select a button, assign a shortcut, click "Add"
I use:
"CTRL-1" for "Comment Block"
"CTRL-2" for "Uncomment Block"
"CTRL-3" for "Add Line Numbers"
"CTRL-4" for "Remove Line Numbers"
Re: Is there a keyboard shortcut to add "comment block"?
- In the MZTools toolbar, click the Options button, then click the Shortcuts tab.
- In the Button list, select Comment Block.
- In the Shortcut list, select the key combination that you want to use (I use Ctrl+K to match some other editors).
- Click the Add button.
- Repeat the above for Uncomment Block and the key combination you want to use for that (I use Ctrl+Shift+K for the same reason as above).
Re: Is there a keyboard shortcut to add "comment block"?
So the answer is "Yes, there is something I know that you don't. Nanah-nanah-boo-boo!" :)
-tg
Re: Is there a keyboard shortcut to add "comment block"?
Hahaha! Haven't used that Add-In too! New knowledge acquired. :rolleyes:
Re: Is there a keyboard shortcut to add "comment block"?
Quote:
Originally Posted by
Arnoutdv
Already using it, very handy, although I still want some more functionalities ... I'm so greedy.:bigyello: