Тема про то, как настроить горячие клавиши и комментировать куски кода.
Взял с форума одного. Ссылка оригинала включена в цитату:
Скрытый текст |
---|
"
Since version 1.0 VB lacked a block comment feature that C/C++ programmers love so dearly. Finally in version 5, the mothership provided us with half of the solution - one could now go to the Customize menu and add the Comment Block and Uncomment Block button to the toolbar or the menu. And that was good. But if you are a keyboard jockey like us, you want something faster and preferably something faster than the /*...*/ operator in C/C++. This is the story of how to do it:
1. Right click on the toolbar and select Customize... menu 2. Under Categories click on Edit, then select Comment Block in the Commands listbox. 3. Now drag the Comment Block entry onto the Menu Bar (yep! the menu bar) 4. You should now see a new icon on the menu bar. 5. Make sure that the new icon is highlighted (it will have a black square around it) and click Modify Selection button on the Customize dialog box. 6. An interesting menu will popup. Under name, add an ampersand to the beginning of the entry. So now instead of Comment Block it should read &Comment Block. Press Enter to record the change. 7. Click on the Modify Selection button once again and select Image and Text. 8. Dismiss the Customize dialog box. 9. Now highlight any block of code and press Alt-C. Voila. 10. Do the same thing for the Uncomment Block or any other commands that you find yourself using often." |
Лично я сделал комментирование на клавиши Alt+C как в примере и снятие комментариев на Alt+X. Т.е. на шаге 6 после амперсанда поставил X.
Надеюсь, данная информация будет вам полезна.