Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Commenting out code

Status
Not open for further replies.

meldrape

Programmer
May 12, 2001
516
US
Here I am using VI for 3 years now and I'm almost embarrassed to ask this question. Is there a toolbar for commenting and uncommenting blocks of code like Microsoft Access has? Where you can select the code you want commented out and click the toolbar button and it does it all at once? I've looked for it and can't find anything.

Thanks!!
 
That is one of the things missing in VID. VS.net has it...

I tried to write my one as an add-in, but the vid6 doesnt provide the same access to the editor window that you get in vb6. So I ended up writing an addin that requires you copy the block of code you want to comment to the clipboard and then run the add-in and paste the clipboard back into
vid editor window. Not ideal but works.


 
I was hoping that was the case. All this time I thought I wasn't looking hard enough! Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top