I recognize that HTML Keyword expansion is implemented exactly the way that Microsoft implemented it in SourceSafe.
However with just a little more thought it could be infinitely more useful.
Currently
expands to
This allows HTML text such as:
Code: Select all
Last edited by: <!-- $$Author: -->Fred<!-- $ -->
By just allowing the prefix and suffix to be specified by the user (say on a repository basis), a prefix of "-->" and a suffix of "<!--" works for HTML but a prefix of '*/"' and a suffix of '"/*' would work for C and C++ as in:
Code: Select all
const char szAuthor[] = /*$$Author:$*/;
expands to:
Code: Select all
const char szAuthor[] = /*$$Author:*/"Fred"/*$*/;
As long as this functionality exists, it might as well be general purpose rather than specific to HTML.
Mike