T O P I C R E V I E W |
ransico |
Posted - Oct 22 2009 : 7:19:23 PM I was wondering if support for project macro variables (such as $(ProjectName) ) could be inserted into VA snippets, in a similar way that environment variables can currently be inserted. If not, could it be considered for a future enhancement? This feature would be useful for working with the initial template for new code files (just think, #include "ProjectNamePCH.h")
The one difficulty that I can foresee with implementation of this feature is detecting which project the active file actually belongs to... but surely that isn't insurmountable.
- Lewis |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Nov 03 2009 : 6:32:09 PM This idea makes sense. Are you talking about pre-defined project variables, or custom variables that you are somehow defining inside the project?
A quick web search got me to this page:
http://msdn.microsoft.com/en-us/library/aa288397%28VS.71%29.aspx
which is listing pre-defined C# project variables, which raises the interesting thought that projects for different languages might offer different variables. |
|
|