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
 1525 Move Impl to Source File never enabled
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Heppi
New Member

9 Posts

Posted - Jun 28 2006 :  06:24:07 AM  Show Profile  Reply with Quote
Hello,
I never have the chance to move a function from a .H to a CPP file.
Menue entry is always disabled.

Help is appreciated.

VA_X.dll file version 10.3.1525.0 built 2006.06.22
Licensed to:
VA X: xxx(3-user license) Support ends 2006.10.06
VAOpsWin.dll version 1.3.3.3
VATE.dll version 1.0.5.7
DevEnv.exe version 8.0.50727.42
msenv.dll version 8.0.50727.42
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2180
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Programme\\Microsoft Visual Studio 8\\VC\\include;
C:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Programme\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Programme\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;
C:\\DEV\\StingrayStudio2006\\Include;
C:\\DEV\\StingrayStudio2006\\Regex\\include;

Library Includes:
C:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Programme\\Microsoft Visual Studio 8\\VC\\crt\\src;
C:\\DEV\\StingrayStudio2006\\Src;
C:\\DEV\\StingrayStudio2006\\Regex\\src;

Other Includes:


Edited by - Heppi on Jun 28 2006 07:39:31 AM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 28 2006 :  5:24:08 PM  Show Profile  Reply with Quote
VS2005, VA 1525, C++
i added the following line to an existing class in a .h file:


    int SomeFunc(long l) { return l * 4; }


then i placed the caret inside SomeFunc and used the VAssistX -> refactoring menu, on the toolbar, and Move Implementation to Source File worked perfectly for me.

what code are you trying this on, and how are you triggering the menu / which menu are you triggering?

are other refactoring operations available to you?


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

support
Whole Tomato Software

5566 Posts

Posted - Jun 28 2006 :  11:01:12 PM  Show Profile  Reply with Quote
Documentation is available at:

http://www.wholetomato.com/products/features/moveImplementation.html?more=yes
Go to Top of Page

Heppi
New Member

9 Posts

Posted - Jun 29 2006 :  02:44:33 AM  Show Profile  Reply with Quote
I had some classes in one file and worked on splitting these up.

Now your example works , after having only two classes in it.

Some other refactorings are working too, now.


It seems, that my header file was a bit complex.

Thx
Heppi
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 29 2006 :  11:17:26 AM  Show Profile  Reply with Quote
Send or post a small example if you can determine what is confusing VA X in your header. We surmise it is related to your use of preprocessor macros within definitions.
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