index > Team Foundation Server - Version Control > Is there a way to...?

Is there a way to...?


is there a way to force the developers to add code comments before they can check it in?

i saw the code analysis, is there a way i can add a rule in code analysis to check all the methods, enums, and so on for the code comments?

if there's some codes/ methods has no comments, the code analysis should fail.. so is there a way to do it in code analysis/ or any other way that can do that?\

thanks.




im just 20 year old.. but i want to be great in programming like an adult.
ogiepogi

There is no way to do this today without writing a check-in policy that requires that comments are there. There is a project out on codeplex to do this. See http://www.codeplex.com/Wiki/View.aspx?ProjectName=TFSCCPolicy

Ed

http://blogs.msdn.com/edhintz

Ed Hintz

hi, thanks for your reply...

it can be a help but i just hope MS will do something bout this..




im just 20 year old.. but i want to be great in programming like an adult.
ogiepogi
reply 3

You can use google to search for other answers

 

More Articles

Dropping Files into Source Controlled Projects Fails Checkout
Code checked-in everyday
Question on Team Foundation Server Version Control
Visual Source Safe -> Source Control in Team Foundation
Remove local copy from workspace?
File content mash-up
multiple users on some specific work space.
Check-in and get latest for other users
Check out source code from Solution Explorer and not from Source ...
Merge problem in BetaR
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Find in Files
Team System Multiple Checkout Problem
ServerMap.xml issue?
How to get the content of changeset usin…
How can I permanently delete files in TF…
Version Control on documents
Determine if there is a label already ap…
Branching Strategy Validation
whitepaper, docs about version control
Time Stamp in Source Control Explorer
Is there a Starteam to TFS migration tool?
Project can not load while opening my So…
Deep history - anyway to get it all?
Checkin changes on behalf of another user
Searching Team Foundation source control

Hot Articles

How do I / Can I list files within a Cha…
Customizing the Check-In Event Email ..
Shelving
Trying to move source causes weird error
Error TF60024
Team Foundation Server MSSCCI With Visua…
Error when attempting to open Source Con…
How to answer some user questions
Code changes are not reflected to the se…
TS MSSCCI installation requirements
Version Control permissions
TF10139: problem after upgrade freom B3R…
Proxy Install Troubleshooting
Use of Visual Studio 2005 Team Foundatio…
Adding CC list to work item/bug?

Recommend Articles

Why is the "Compare" item disa…
How can I find out what my team has chec…
Problem in Migration from VSS to Team Fo…
Removing old versions
Unshelving and merging changes
Connecting to TFS srever using it with VB6
Source Control Disabled
Problem resolving merge conflict
Installing TFS MSSCCI Provider
Change Local Path after download files f…
Newbie question...... How to get startin…
Is Visual Studio Team Suite 2005 Provide…
Error using MSSCCI provider. <file&g…
List all labels attached to a file/folder?
Open TFS dialogs