Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactor/Alt-O Bug/Problem - Release 1544

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
krmader Posted - Jan 29 2007 : 12:39:11 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 29 2007 : 2:50:25 PM
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.
rhummer Posted - Jan 29 2007 : 12:52:22 PM
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.

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