Did you know… Visual SourceSafe “Keyword Expansion Support”
By rickvdbosch
- 1 minutes read - 155 wordsAlthough we’re not using SourceSafe at my current project (yet), I found out about a cool feature recently: Keyword Expansion. It enables you to get information about the revision, date, author and so on of the version of the file you are looking at inside the file itself. This way you can see version information in the comments of your code-file, without even starting SourceSafe.
Taken from an MSDN entry about VS2k5:
Visual SourceSafe supports keyword expansion, a process that enhances with version-specific information certain keywords that you place in your text and HTML files. When you add or check in a file that contains these keywords, in comments, Visual SourceSafe looks for the keywords and automatically places relevant version-specific information after them. For example, the string $Revision: $ tells Visual SourceSafe to expand the Revision keyword automatically with the current file version number.
Read this entry (SourceSafe 6 also supported) for more information and a howto…