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
 VA-X 10.6 on VS2010
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

os_
New Member

4 Posts

Posted - Jun 25 2010 :  8:37:46 PM  Show Profile  Reply with Quote
Hi, I have a question about the VS2010 integration. IntelliSense was a dog in older VS releases and many people disabled it using various brutal methods. This was OK, since VA-X built its own database after parsing project files and system headers.

The new VS2010 release uses a SQL DB and, as far as I know, the content is exposed to extensions via an API. My question is - does VA-X still build/update its own distinct DB or do you now rely on the updated IntelliSense? (I am just curious, as it would make sense to reuse the MS engine to save CPU cycles, RAM and disk accesses on my notebook PC :)

Thanks!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 28 2010 :  03:48:12 AM  Show Profile  Reply with Quote
Visual Assist is still using its own parser. Visual Studio 2010 has an improved one over older releases but it doesn't provide enough info for everything (i.e. for refactoring). Also, VA's parser is still faster, so features like Find References are much quicker and very large project also can be parsed using VA's parser.

Edited by - accord on Jun 28 2010 03:49:44 AM
Go to Top of Page

os_
New Member

4 Posts

Posted - Jun 28 2010 :  12:32:27 PM  Show Profile  Reply with Quote
So, is there a way to disable VA's parser given that I don't care about finding references or refactoring? I am only interested in highlights, Alt-g and suggestions (to a lesser degree).
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 28 2010 :  1:21:30 PM  Show Profile  Reply with Quote
Find references was just an example advantage of using a separate parser. You cannot turn it off, since VA relies on it. But VA's parser is very fast, so it does not drain your battery much.

Edited by - accord on Jun 28 2010 1:23:45 PM
Go to Top of Page

os_
New Member

4 Posts

Posted - Jun 28 2010 :  1:45:13 PM  Show Profile  Reply with Quote
:) my point was a rather theoretical discussion on the double-up in functionality...

I vaguely remember seeing something in the forum or blog about forcing VA to rely on IntelliSense DB. Could you confirm whether this is a feature please?
Go to Top of Page

rhummer
Tomato Guru

USA
527 Posts

Posted - Jun 28 2010 :  2:03:03 PM  Show Profile  Reply with Quote
That would be "Get contents from default Intellisence" in Advanced -> Listboxes.

If I'm not mistaken. :)

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 28 2010 :  2:11:01 PM  Show Profile  Reply with Quote
Yes, VA can use intellisense in this case but only for listboxes. When I would like to save CPU cycles (i.e. to avoid fast battery draining) I'd rather turn off intellisense than VA.

Edited by - accord on Jun 28 2010 2:14:08 PM
Go to Top of Page

os_
New Member

4 Posts

Posted - Jun 28 2010 :  5:23:25 PM  Show Profile  Reply with Quote
Interesting, "Get contents from default Intellisence" is already checked" in VS2010. Could you clarify what exactly this option does please?
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 29 2010 :  03:44:42 AM  Show Profile  Reply with Quote
When it's turned on, VA will get the listbox content from default intellisense. This is only a workaround for cases when VA does not understand a complex code which default intellisense does. So VA parser will still be active and used for everything else.
Go to Top of Page

verpies
Junior Member

12 Posts

Posted - Jan 02 2012 :  11:28:24 AM  Show Profile  Reply with Quote
When I set Tools/Options/TextEditor/C,C++/Advanced/DisableDatabase = TRUE in VS2010SP1, then VAX stops working.

Why? The above posts indicate that VAX builds its own code database.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jan 02 2012 :  6:56:47 PM  Show Profile  Reply with Quote
If you have disabled VS2010 intellisense database, and turned on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

then VA listboxes are likely to stop working, since VA is asking for information the IDE cannot provide. But other VA features should not stop working.

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

verpies
Junior Member

12 Posts

Posted - Jan 02 2012 :  7:05:39 PM  Show Profile  Reply with Quote
I know, but they stop :(
Go to Top of Page

verpies
Junior Member

12 Posts

Posted - Jan 02 2012 :  7:08:26 PM  Show Profile  Reply with Quote
Concretely, these features do not work:
- Go To Definition
- Go to Declaration

...but Find References works.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Jan 02 2012 :  7:46:51 PM  Show Profile  Reply with Quote
"Go To Definition" and "Go to Declaration" in the right click menu are IDE commands, and are nothing to do with VA. These IDE commands will depend on the IDE's intellisense database.

Try using Alt-G instead.

http://www.wholetomato.com/products/features/goto.asp

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