Auto Replace Inside Comment Block

Jeff81

Member³
I love the auto replace feature but I noticed it wont work inside a comment block /**/. Is there a way to make this work? Or maybe some other kind of way of putting the current date and OSUSER?

Thanks.
 
I can see the point in the other topic. Sounds like a toggle is the best way to go, that way we can decide to have it on or not.
 
Jeff,

I reread your first post. I'm not sure what you need, but this might work for you.

I added templates under the "Program Units" folder in the templates section that meet our company standards. My templates have names like "My Package". Within these templates, I put $Date and $OSUSER inside comments.

Now, when I create a new package with "File/New/Program Window/My Package", the variables are replaced correctly within the comments.
 
I do exactly what you are talking about but what I was referring to is creating a template that would put just that, the $DATE and $OSUSER but inside a comment block. This is to help with the developers when they are adding in a new revision comment it will automatically fill out that information.
 
Back
Top