I am trying to institute code reviews at my company, and recently we had our first code review meeting. During the meeting, several positive suggestions were made and I added TODO comments in my code for following up.
After reading suggestions on here on best practices for code reviews, I would like to follow up on all the items I corrected at the start of the next meeting. Is there a way to add a similar type of comment to the code such as FOLLOWUP so that I can quickly highlight through those code segments in the next meeting?
You can create your own comment tokens. This can be found under
Tools > Options >Environment > Task List > Comment tokens
The following link provides more info. They are geared towards Visual Studio 2005, but the same info works for Visual Studio 2010
http://msdn.microsoft.com/en-us/library/ekwz6akh%28v=VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/zce12xx2%28VS.80%29.aspx
You shouldn't be walking though the code in the actual meeting. Each participant should have already looked at and reviewed the code prior to the meeting. Thus, diff tools are all that are needed. No need for comments in the code - only commit comments are necessary.
If you are first seeing code in a review meeting then you are doing it wrong and wasting time.
EDIT:
I'd recommend this book
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With