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
 Automatic reparse on loosing focus
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ruskialt
Junior Member

Denmark
22 Posts

Posted - Nov 05 2004 :  02:08:20 AM  Show Profile
Could VA reparse on loosing focus (ie h/cpp flip)?

When defining new variables in class header .h, then going to .cpp to use the variable, the new variable isn't listed. Same goes for renamed variables, VA doesn't take note.

support
Whole Tomato Software

5566 Posts

Posted - Nov 05 2004 :  10:59:57 AM  Show Profile
case=424
Go to Top of Page

Ruskialt
Junior Member

Denmark
22 Posts

Posted - Nov 10 2004 :  3:37:40 PM  Show Profile
Can I find a list of cases and their prioity?
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Nov 11 2004 :  05:11:20 AM  Show Profile
You can find a list of publicly-visible cases by searching the forums for the string "case=". My understanding is that Whole Tomato don't wish to commit publicly to any particularly priorities.

(Personally, I support them in this. I think they have a good balance between openness and not over-committing themselves. In fact, a rather generous balance).

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 11 2004 :  07:42:30 AM  Show Profile
Ruskialt, as a work around in this specific case i do the following:
bind ctrl+alt+num + to VAssistX.ReparseCurrentFile
and then manually trigger a reparse after a .h edit you really want VAX to pick up, before pressing alt_o

while this isn't ideal, it isn't to much hassle.

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

Ruskialt
Junior Member

Denmark
22 Posts

Posted - Nov 11 2004 :  08:47:51 AM  Show Profile
Thanks to your idea I wrote this small macro to perform those two tasks (ofcause to be able to performs those steps on a single hot key):

Sub ReparseAndOpenAlternate()
ExecuteCommand "VAssistXReparseCurrentFile"
ExecuteCommand "VAssistXOpenCorrespondingHorCPP"
End Sub

This work fairly well, new variables are now in the completion list. But to my surprice, deleted variables still hang there - they aren't deleted.
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Nov 11 2004 :  09:58:44 AM  Show Profile
I agree that deleted variables hang around too long. It's particularly annoying when I create a new variable, immediately decide to change its capitalisation, and then find that both versions are remembered.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Nov 11 2004 :  4:25:42 PM  Show Profile
as i understand it deleted variables are "forgotten" when VAX does a full reparse of the relevant file. i thought that the reparse button did a full reparse, so in theory this shouldn't be happening...

*experiments*

i am seeing old variables hanging around in suggestion lists (with question marks) but not in completion listboxes. this makes a degree of sense, since a name you have just removed you may want to re-enter.

this is with C++, .NET 2003 and VAX 1283

are you seeing these old names hang around in completion listboxes, after a manual reparse?

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

Ruskialt
Junior Member

Denmark
22 Posts

Posted - Nov 12 2004 :  02:23:42 AM  Show Profile
Yes I see old variables in completion listbox too. I would expect a "full reparse", like "clear & parse". But this is somehow not the case. It behaves like "reparse" is maybe a "parse" adding variables to a set, the initial "clear" is forgotten.

I'm on VC++6.0, VAX 1278 (see nothing ragarding this subject on release later releases..)
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