Reputation: 1619
Is there a way to comment out a chunk of code quickly using CodeRush ?
'For narCounter = 0 To UBound(arPDFFiles)
' 'Add the PDF File Names to the Data Table.
' rowPDF = dtPDF.NewRow
' rowPDF("PDFDocument") = arPDFFiles(narCounter)
' dtPDF.Rows.Add(rowPDF)
'Next
Upvotes: 2
Views: 288
Reputation: 11376
Yes, this can be done using CodeRush. Select a code and press the ' button.
Upvotes: 2
Reputation: 1824
You can use Ctr+E, C which is already built into Visual Studio
Upvotes: 1
Reputation: 4274
Yes, the CodeRush Pro has the Selection Comment feature. This feature adds the capability to quickly comment or uncomment a multi-line block of code (or any text in the code editor) via a single shortcut. In Visual Basic, it is (‘)(Apostrophe) and in CSharp (or C++), it is (/) (Slash). Note that if you are using CodeRush Xpress, it doesn't have this feature. Here is some more info on this.
Upvotes: 4