Author |
Topic |
|
os_
New Member
4 Posts |
Posted - Jun 25 2010 : 8:37:46 PM
|
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
|
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 |
|
|
os_
New Member
4 Posts |
Posted - Jun 28 2010 : 12:32:27 PM
|
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). |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jun 28 2010 : 1:21:30 PM
|
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 |
|
|
os_
New Member
4 Posts |
Posted - Jun 28 2010 : 1:45:13 PM
|
:) 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? |
|
|
rhummer
Tomato Guru
USA
527 Posts |
Posted - Jun 28 2010 : 2:03:03 PM
|
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
|
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jun 28 2010 : 2:11:01 PM
|
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 |
|
|
os_
New Member
4 Posts |
Posted - Jun 28 2010 : 5:23:25 PM
|
Interesting, "Get contents from default Intellisence" is already checked" in VS2010. Could you clarify what exactly this option does please? |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Jun 29 2010 : 03:44:42 AM
|
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. |
|
|
verpies
Junior Member
12 Posts |
Posted - Jan 02 2012 : 11:28:24 AM
|
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. |
|
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Jan 02 2012 : 6:56:47 PM
|
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 |
|
|
verpies
Junior Member
12 Posts |
Posted - Jan 02 2012 : 7:05:39 PM
|
I know, but they stop :( |
|
|
verpies
Junior Member
12 Posts |
Posted - Jan 02 2012 : 7:08:26 PM
|
Concretely, these features do not work: - Go To Definition - Go to Declaration
...but Find References works. |
|
|
feline
Whole Tomato Software
United Kingdom
19024 Posts |
Posted - Jan 02 2012 : 7:46:51 PM
|
"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 |
|
|
|
Topic |
|