Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Project vars in snippets
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ransico
New Member

3 Posts

Posted - Oct 22 2009 :  7:19:23 PM  Show Profile  Reply with Quote
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
18943 Posts

Posted - Nov 03 2009 :  6:32:09 PM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000