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
 Refactor/Alt-O Bug/Problem - Release 1544
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

krmader
Starting Member

United Kingdom
1 Posts

Posted - Jan 29 2007 :  12:39:11 PM  Show Profile  Reply with Quote
Hello,

I'm having a couple of problems - first with the Alt-O feature and second with the refactoring.

First, I have two files that are not part of my project in VS2005, but they are in my Miscellaneous Files branch of project explorer. The files are laid out as follows:
C:\\Documents and Settings\\kristopherm\\Desktop\\Work\\SSL\\Proto.cpp
C:\\Documents and Settings\\kristopherm\\Desktop\\Work\\SSL\\Proto.h

When I am inside the cpp files, Alt-O works as expected - it opens the appropriate header file. However, once I am in the header file, neither Alt-O nor the .h/.cpp toolbar button will open the cpp file. I just upgraded from an earlier (Jan '06) version that was working fine with this project.

Second, I upgrade my maintenance just so that I could try out the refactoring, only to find that when I select a method in the header file to refactor nothing is happening. The screen flashes for a second, but no code is generated in the cpp file. I suspect that this might be related to the first issue.

I really hope there is a fix or workaround - I have used this product for years and it is great, but I really hate having just paid for a new subscription only to find the features I upgraded for are not working. I should have tried the demo first. ;-)

regards,
-Kristopher

rhummer
Tomato Guru

USA
527 Posts

Posted - Jan 29 2007 :  12:52:22 PM  Show Profile  Reply with Quote
What happens if you Shift + Right click on the symbol and navigate to the Refactor sub menu?

Also it will help out if you can post information in the About node of the Options Dialog.

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

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jan 29 2007 :  2:50:25 PM  Show Profile  Reply with Quote
Which IDE are you using? I am not seeing any sort of "Miscellaneous Files" branch in solution explorer in either VS2003 or VS2005. I have tried creating two files in the same directory here and just opening them in the IDE, and alt-o toggles between the two of them quite happily.

Are these two files listed in OFIW?
Are they still listed if you close them?

If VA does not really know about them they it may not scan inside of them when running a refactoring operation.

Which refactoring operation are you trying? There are several to choose from.

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