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
 Parsing
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

abfinger
New Member

USA
3 Posts

Posted - Jun 21 2005 :  08:51:45 AM  Show Profile
It would speed things up a lot if the first files parsed on startup were the documents that are open in the workspce.

Alan Finger

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jun 21 2005 :  2:55:43 PM  Show Profile
and what happens when one of the open files references a class that is defined in a file that is not open?

until VA has finished its parsing it wont really know what is going on.

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

abfinger
New Member

USA
3 Posts

Posted - Jun 21 2005 :  3:03:15 PM  Show Profile
Ah, but that may not happen in the one file I want to look at. Sounds like parsing is 2-pass? Or 1-pass with fix-ups? So no harm is done if parsing is done in a different order than "first-project-first", right? And that improves the odds of my being able to start working sooner when VS starts up.

Since the program may not even be completed, there may be lots of references to undefined identifiers in lots of places. VA always handles them silently. A missing definition just means you won't get any VA help on that identifier.

Alan Finger
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Jun 21 2005 :  3:38:40 PM  Show Profile
Long parsing takes place maybe once a week. Takes about 40 Seconds on a 2.8 GHz System...

It really ain't that annoying, is it?

Go to Top of Page

abfinger
New Member

USA
3 Posts

Posted - Jun 21 2005 :  3:50:31 PM  Show Profile
Not sure you know how long it takes since it probably varies from solution to solution. Mine has more than 160 projects.

Alan Finger
Go to Top of Page

WannabeeDeveloper
Tomato Guru

Germany
775 Posts

Posted - Jun 21 2005 :  4:41:30 PM  Show Profile
Well then, 160 Projects is a lot to parse.

You have to differ between parsing stable include files (which happens maybe every week or so) and parsing your workspace while opening it.
Then you are right that it would make sense to look which files are currently saved as "open in Workspace" and parse those files first.

Not sure if we can introduce some kind of priority into the parsing-process...

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