ransico
New Member
3 Posts |
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 |
Edited by - feline on Nov 03 2009 6:33:33 PM |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
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. |
zen is the art of being at one with the two'ness |
|
|