Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Problems, bugs and issues

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Alexo Posted - May 27 2010 : 4:02:24 PM
There are several issues I would ask you to address:

1) Indentation loss when editing a multi-line chain like: obj.func().func().func() ...



After typing 'foo1.f()', I hit ENTER. The caret is now on the next line, indented one tab.
When I press '.', it gets unindented to the beginning of the line.


2) Snippets do not always work.

I have a nipped defined for '//-'


In some cases, I type the snippet code and nothing happens:


When I backspace to delete the dash and type it again, the snippet is recognized:


In this particular case, I typed 'foo1.f(', the closing bracket was automatically inserted, I skipped over it, hit SPACE then typed the snippet code '//-'


3) VAX "Goto Implementation" does not work when source file is not open.

Sometimes when I'm on a symbol that is defined in a different file and I click on "Goto Implementation", VAX will open the file but will not jump to the correct line (it will stay on the 1st line). If I TAB back and try it again (with the target file already open), VAX will put me on correct line.

I don't know how to recreate. It happens with some symbols but not others.


4) Please integrate the VAX "Goto Implementation" with the VS "Go To definition" and "Go To Declaration".

When I use the VS "Go To definition", the previous location is stored in a stack and is poppable at any time using "Pop Browse Context". The VAX "Goto Implementation" does not offer this functionality.

In that way, the VS "Go To definition" is superior to the VAX "Goto Implementation". Unfortunately, I cannot use it because of the next issue (#5).


5) Visual Studio loses track of some symbols.

"Go To definition" goes to the wrong location or does not work at all, "Code Definition Windows" is wrong in the same manner.
The VAX "Goto Implementation" usually still works OK in these cases.
I do not know if it's a VAX or VS problem.


6) The VAX "Goto Implementation" pops up a list on some symbols.

The list usually consists of a .h file (declaration) and a .cpp file (definition).
In most other cases it correctly determines which file to go to.


I am running VS2005 SP2 with VAX 10.6.1823.0
.SBR and .BSC files are not generated.
14   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 04 2010 : 5:42:53 PM
case=22548 is fixed in build 1829
accord Posted - Jun 01 2010 : 1:48:34 PM
I've put in a feature request to support Pop Browse Context to see what the developers make of it:

case=45127

An interesting feature I've seen is that it saves your original position before you jump to find references locations so you will need to press this button/shortcut once to get back after you visited several locations.

Another interesting thing is that it doesn't save the caret position before you jump to a line via double clicking over a line in find in files list. Isn't it annoying?
Alexo Posted - May 31 2010 : 10:22:06 AM
"Pop Browse Context" moves backwards through the browsing history.
For example, if you put the caret on an instance of func() and hit F12, you'll be taken to func()'s definition. Then you can move around but when you "Pop Browse Context" (CTRL-Num*) you'll be taken directly to the instance that you were on at the beginning, bypassing all the subsequent browsing.

This is much more more convenient than plain "navigate backwards" because it only goes to the points of interest (the browse context).

Also see:
http://www.visualassist.com/forum/topic.asp?TOPIC_ID=8937
http://carlesgr.files.wordpress.com/2008/05/visual-c-keybindings.pdf


accord Posted - May 29 2010 : 06:14:02 AM
I have been playing with this "Pop Browse Context" a little, but I don't really see how it works: what's the difference between navigate backward and the former?



You can try Visual Assist's version of this: just assign

VAssistX.NavigateBack
VAssistX.NavigateForward

to a keyboard shortcut here:

Tools -> Options... -> Environment -> Keyboard

It works slightly different so maybe you will like it even if you don't like VS's variant.
Alexo Posted - May 28 2010 : 3:44:14 PM
Just to elaborate on my point #4.

The enhancement I am asking for is the equivalent of the VS "Pop Browse Context".
It is very useful when debugging/maintaining, as it keeps a stack of location that I "jumped" to, ignoring "normal" movement.


Alexo Posted - May 28 2010 : 3:35:49 PM
quote:
Originally posted by accord

Point 6: Visual Assist's goto is not really a "Goto Implementation". It is simply a "Goto", so when there is an implementation and declaration, it will ask you where to go.



99% of the time it doesn't ask.
It goes to the implementation, unless it is already there, then it goes to the declaration.

However, sometimes it gets confused and pops up a list.
Alexo Posted - May 28 2010 : 3:33:49 PM
quote:
Originally posted by accord

point 4: One possible answer is to show VA View and turn on "Include modified methods" in the right click menu of the top half, so that the functions you have been working on will be remembered, and you can simply jump to them via this list:

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



Doesn't work when the code is not modified, which is the case when debugging or deciphering someone else's code.
Alexo Posted - May 28 2010 : 3:29:57 PM
quote:
Originally posted by feline

problem 3, I believe this is:

case=22548

this only happens if the file you are jumping to is not open, and the IDE's Code Definition Window is pinned open and currently visible. If it is set to autohide, or it is behind another pinned open window then Alt-G should work correctly the first time.



Yes, this is exactly the case!
accord Posted - May 28 2010 : 3:27:39 PM
Point 6: Visual Assist's goto is not really a "Goto Implementation". It is simply a "Goto", so when there is an implementation and declaration, it will ask you where to go.
accord Posted - May 28 2010 : 3:20:34 PM
point 5: If "Go To definition" and "Go To Declaration" isn't working but Visual Assist's goto is working (Alt+G) then it is clearly a Visual Studio problem. Visual Assist is using a separate parser and database from Visual Studio's parser and database.

However, you can try
1. exit VS
2. delete the .nbc file in the directory where your .vcproj is placed
3. restart VS
to rebuild Visual Studio's default intellisense database to see if this helps.
accord Posted - May 28 2010 : 3:15:14 PM
point 4: One possible answer is to show VA View and turn on "Include modified methods" in the right click menu of the top half, so that the functions you have been working on will be remembered, and you can simply jump to them via this list:

http://www.wholetomato.com/products/features/mru.asp
feline Posted - May 28 2010 : 2:51:51 PM
problem 3, I believe this is:

case=22548

this only happens if the file you are jumping to is not open, and the IDE's Code Definition Window is pinned open and currently visible. If it is set to autohide, or it is behind another pinned open window then Alt-G should work correctly the first time.
holedigger Posted - May 28 2010 : 1:49:54 PM
2) case=44944. Seems limited to snippets that begin with a non-alpha character.
holedigger Posted - May 28 2010 : 1:36:43 PM
Let's take one at a time:

1) I can reproduce this (case=44942). It seems to be related to the "Convert dot to ->" option. If you turn it off, then formatting is preserved.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000