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
 how to force a rescan?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

peterchen
Tomato Guru

126 Posts

Posted - Nov 15 2004 :  1:11:53 PM  Show Profile
when I add a new #include to a .cpp file, it takes a while for the rescan to start. Rescanning the current file doesn't help.

What does help is closing/reopening the workspace, but I don't thing this is the "supposed" way

(VC6, VAX 10.0.1246)

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 15 2004 :  5:53:48 PM  Show Profile
are you adding a local .h or a system .h ?

if it is a known system .h then no rescan should be required. for local .h files, i jump to the file (alt_g on the #include works nicely ) and then manually reparse the .h when this happens to me, and i am in a hurry.

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

peterchen
Tomato Guru

126 Posts

Posted - Nov 16 2004 :  05:46:38 AM  Show Profile
It is a bit more complicated I guess ;)

it is an #include "xxx.h" or a relative path #include "lib1/xxx.h"

The file (or lib1 subdirectory) is located in e.g. d:\\sources\\include

There is an environment variable KA_EXT_INCL pointing to this directory (KA_EXT_INCL=d:\\sources\\Include), and the project settings have $(KA_EXT_INCL) as "additional include path"

Go to Top of Page

peterchen
Tomato Guru

126 Posts

Posted - Nov 16 2004 :  05:48:19 AM  Show Profile
..but jumping to the include, and reparsing it would be fine (Not sure if alt-g always finds the file in this scenario, the VC6 "open document "xxx.h" command works only after VC6 recalculated it's dependencies.)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 16 2004 :  5:11:24 PM  Show Profile
i know in the past VAX has had problems with environment variables in include paths. if this path is basically constant you could try adding it to VAX's directory's list to see if that helps

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000