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
 Feature Requests
 Reparse/Rescan project/solution
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DXer
Junior Member

13 Posts

Posted - Jan 14 2008 :  1:36:18 PM  Show Profile  Reply with Quote
It would be very nice if there was a command like 'Rescan Project'(similar to 'Reparse CurrentFile') that would reparse all files in the current project / solution. At the moment you can only choose to either Rebuild VAX (which reparses also the include directories) or Reparse Current File.

The reason: When your project is very large and you see there is some information corrupt, you have to search for all files being corrupt, and reparse them manually. This can be very time consuming.


Edited by - DXer on Jan 14 2008 1:37:23 PM

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 14 2008 :  2:28:30 PM  Show Profile  Reply with Quote
Turning on these two VA options should help a little:

VA Options -> Performance -> watch for externally modified files and reparse when necessary
VA Options -> Performance -> Parse all files when opening a project

The first to help keep VA up to date if you are grabbing updates from a source control system, and the second to keep VA up to date when loading the IDE.


Beyond this though, you should not be seeing this problem at all. Do you know what triggers it? Any thoughts?

zen is the art of being at one with the two'ness
Go to Top of Page

DXer
Junior Member

13 Posts

Posted - Jan 15 2008 :  10:35:11 AM  Show Profile  Reply with Quote
I see the problem if I e.g. use complex Find And Replace phrases (reg.expr.) to edit some function definitions or objects in all files. Recently, for example, I mapped some COM objects like interfaces of DX into an RAII object called comptr, and afterwards the operators -> and * for the comptr-object did not work correctly in VAX, but they did in my project. I had to either close and reopen the solution or reparse those many files.

There are still some other examples triggering this, but all are wide-ranging editions.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 15 2008 :  3:15:59 PM  Show Profile  Reply with Quote
After saving these files VA should detect and parse the changes.

Is this a problem you are often running into? Or only very occasionally?

zen is the art of being at one with the two'ness
Go to Top of Page

DXer
Junior Member

13 Posts

Posted - Jan 16 2008 :  1:57:51 PM  Show Profile  Reply with Quote
ahh I didnt consider saving the files... Ill tell if I see more about this, but for now I think this is the solution
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 17 2008 :  3:01:40 PM  Show Profile  Reply with Quote
It is tempting to say you should not have to save the files. However if you have modified 200 files in one go with a search and replace VA probably needs time to catch up and re-parse all of this.

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