T O P I C R E V I E W |
DXer |
Posted - Jan 14 2008 : 1:36:18 PM 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.
|
5 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jan 17 2008 : 3:01:40 PM 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. |
DXer |
Posted - Jan 16 2008 : 1:57:51 PM ahh I didnt consider saving the files... Ill tell if I see more about this, but for now I think this is the solution |
feline |
Posted - Jan 15 2008 : 3:15:59 PM After saving these files VA should detect and parse the changes.
Is this a problem you are often running into? Or only very occasionally? |
DXer |
Posted - Jan 15 2008 : 10:35:11 AM 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. |
feline |
Posted - Jan 14 2008 : 2:28:30 PM 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? |