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
 some suggestion about [OpenDialogInSolution]
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
346 Posts

Posted - Nov 02 2012 :  02:56:58 AM  Show Profile  Reply with Quote
I Use VA for a long time,It's a powerful tool!
I love a lots of its feature,e.g. FindSymbol,Outline beside the code-IntelliSense ect.
Today,I have a study on [OpenDialogInSolution].It's not good enough I think.

So far,It only can (1)show the file in the current solution(on-Check) or (2)additionally can show the file already open in solution(un-check)

I admire When typing the part-string of file-name,It's can fast locate the file and Activate it.But This can accomplish by Visual-studio Windows menu also.

To compare with the [FindSymbol] function,I think most of the user want this function to offer this kind of feature.

(1)It can include the Directoins Setting in the IDE and the project [Additional include Directoins] file names as candidates at least.

You and you team can start a discussion about this.

so many times,I want to find and open a file Use [OpenDialogInSolution] (a head file in the include dir and have included in the solution),

But it's cann't,I have to Ctrl+O and Find the dir on myself by many steps.So inefficiency and boring work everyday.

(2)Beside,about the [FindSymbol],when I need to find a function_symbol(I remember most portion file 's name)in a .h file,The file not opened but in the [additional include dir],
I cann't get it by [FindSymbol] Even I type the whole function name correctly(with only in solution option un-checked).But only when I file the #include "Test.h" line
and Alt+G,Open it and reparse the file,Then Using [FindSymbol] again,I can Got it. It's strange!

May it's designed like so,But Hope your team can improve sth about it.In my view,At least,VA must parse all the .h files in the [additional include dir],And store the file name and symbol for [OpenDialog]&&[FindSymbol] works better.Because it really make sense!
Thanks!

Creation come from persist!

Edited by - jzq740176597 on Nov 02 2012 02:58:07 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 02 2012 :  7:14:50 PM  Show Profile  Reply with Quote
point 1: I think that enabling the following option will help a lot in your situation:

VA Options -> Projects -> C/C++ directories -> File handling -> if solution is not empty

When you open a file, it will parse all unparsed files in that directory. See the tooltip for more. The additional files will be categorized as "external files" in the "project" column. I tried this "trick" with boost, and VA parsed a *lot* of files on opening shared_ptr.hpp, so it works.

point 2: the same applies, the parsed symbols will be available in this dialog as well.

So you just need to alt+g over a system header once, and use alt+shift+o and alt+shift+s later on, for the files located in that directory.
Go to Top of Page

jzq740176597
Tomato Guru

China
346 Posts

Posted - Nov 04 2012 :  01:00:19 AM  Show Profile  Reply with Quote
Thank you very much!
I have tried it.It's really work! In The Shift+Alt+s &Shift+Alt+o, the Num of symbols|files in [...] is increased!
But I still think this work can be done automatic or by a option like [Repaese all the file when project un_empty or not] in File Handling.

Creation come from persist!

Edited by - jzq740176597 on Nov 04 2012 01:21:00 AM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 07 2012 :  5:45:26 PM  Show Profile  Reply with Quote
We are considering doing a feature at some point that would allow you to specify directories that VA could pre-parse (even recursively)

case=21519
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