2 votes
Saving the file should not remove comments

Description

 
Saving/opening the config file should not strip out comments; it should be possible for a person to come along with a text editor, and be presented with a file that they can edit; this requires it be possible to put comments in the file.

For example, I had set up my config file for three projects, and it quickly got old, setting up a new one, so I created a template in a comment at the top of the file, with some tokens for the next person to replace with things like project name and so on. I opened the config with ccnetconfig, played around, saved it, and my template and other comments were stripped out.

File Attachments


No files are attached


Comments

most recent at top (show oldest at top)
RRFU wrote Oct 20 at 1:03 PM
It would be better still to have the ability to see commented out tasks as being commented out in CCNetConfig and to add comments about that task.

camalot wrote Jan 3 2007 at 2:59 PM
The config file is used to create objects. Those objects are serialized when saving to create the new config file. I will see if the comments can be preserved and added to the new document. The problem I see if it is possible is that there will be know way to tell where the comments were before the deserialization.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987