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
 1554: Create Implementation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

swinefeaster
Tomato Guru

310 Posts

Posted - Apr 24 2007 :  5:18:34 PM  Show Profile  Reply with Quote
When creating new classes, I always have a problem with the stickiness of this command. I have it assigned to a hotkey, but whenever I press it nothing happens. I have to click on the same new function a few times to trick VAX to reparse the header and then it works.

Can't we do something like:

1. If symbol is known, execute command
2. If symbol is not known, reparse header, then check if known and execute command

This would be a huge improvement!

Keep up the good work guys.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 25 2007 :  05:27:17 AM  Show Profile  Reply with Quote
Someone else has already made the same request:

case=4568

For now you might try alt-o a couple of times, this should trigger a reparse of the header file, or you can manually reparse before triggering refactoring.

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

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 28 2007 :  5:31:43 PM  Show Profile  Reply with Quote
From build 1553, VAX reparsing times got better. Are you using the latest build? For me this has solved this problem.

Before 1553 I have ALWAYS reparsed my sources beforce I used a Create declaration or implamentation or move implementation to source command (from keyboard bindings)

I have written a script that saved, than reparsed my source and binded to Ctrl+S. So after a new function declaration I pressed Ctrl+S (save and reparse), then Ctrl+Q (my binding to create implementation)

But now, I leaved this script (now it tooks only one second for VAX to reparse my sources after every modification)

My bug regardless reparsing or not is that sometimes refactorings are NOT avaiable. After pressing left or right arrow, VAX recognises the symbol. Occours very rare, and there is no pattern to reproduce so far.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 30 2007 :  08:05:56 AM  Show Profile  Reply with Quote
accord I am familiar with a similar effect, but so far I have not been able to reproduce it on demand. I am keeping an eye on this though, and hope to pin it down with time.

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