Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactor and code snippet do not work anymore

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
cseyler Posted - Feb 24 2016 : 03:29:32 AM
The refactor(VA) and code snippets do not work anymore. The .h,.c and .cpp files, typing shortcuts does not lead to a snippet proposal and the Refactor(VA) context menu just show Edit refactoring snippet.

The VA navigation bar is not showed too.

I added a .dox extension in the registry key "ExtHeader" ... and the snippet shortxcuts works well in .dox files.
(The key value is now : .dox;.h;.hh;.hpp;.hxx;.ipp;.tlh;.inl;.p;.rh;.dh;.ih;.ph;.hm;)

What am i doing wrong ?
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 26 2016 : 12:07:26 PM
I would not expect any problems with a project created in VS2013. Perhaps it is the code files themselves, and not the project.

Can you please copy a couple of the problem code files into the test project and then open them simply by dragging them into the open IDE and see what happens. Is VA active in the files?

What happens if you then add the files to the test project, and open them from within the test solution?
cseyler Posted - Feb 26 2016 : 03:02:22 AM
The project was initialy created in VS2013 and reopened in VS2015.

The VA outline display nothing
feline Posted - Feb 25 2016 : 12:58:08 PM
What file extension do your problem project files have? My VS2015 C++ projects have the extension .vcxproj

Do you know if VS2015 created the problem projects, or if a different program created them? It sounds like there is something in the project file that is confusing VA.

If you open one of the problem cpp files, what does VA Outline show?
cseyler Posted - Feb 25 2016 : 02:38:57 AM
yes it is working with a new solution/project

But:
- creating a new empty solution and add exisiting projects still have the save strange behavior
- creating a new project in the broken solution/project : VA works correctly on the new project.
feline Posted - Feb 24 2016 : 11:23:03 AM
If you show VA Outline is this showing you anything for the .h and .cpp files? What about the .dox files? I assume it is working correctly in the .dox files, but this is an assumption.

Can you please try making a new, default C++ solution, and see if VA is working correctly there. If VA knows to list the files in the Open File dialog, I would expect it to be active in these files, so I am wondering if somehow your solution is a factor.
cseyler Posted - Feb 24 2016 : 11:14:32 AM
Sorry, missing System Info :

License: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (15-user license) Support ends 2016.10.06
VA_X.dll file version 10.9.2089.0 built 2016.02.01
DevEnv.exe version 14.0.24720.0 Enterprise
msenv.dll version 14.0.24720.0
Comctl32.dll version 6.10.9600.17031
Windows 8.1 6.3 Build 9600
8 processors (x86-64, WOW64)
Language info: 1252, 0x80c

Platform: Project defined
Stable Includes:
C:\Program Files (x86)\Windows Kits\8.1\Include\winrt;
C:\Program Files (x86)\Windows Kits\8.1\Include\shared;
C:\Program Files (x86)\Windows Kits\8.1\Include\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include;

Other Includes:

Stable Source Directories:
C:\Program Files (x86)\Windows Kits\10\Source\10.0.10240.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfc;
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\src\mfc;

Restarting IDE, uninstalling and reinstalling have no effect at all.

I've the same "Edit Recfactor Snippets" only in the VAssistX->Refactor menu.

Yes, the files are listed in the Open Files dialog box.

I think that's happenned since the last update... I've also try to reinstall the previous version ... same behavior. Strange ... and annoying
feline Posted - Feb 24 2016 : 10:23:20 AM
My first thought is that it sounds like VA has been disabled in your C++ code, but since VA is working in .dox files, VA is still installed and active.

Which IDE and version of VA are you using?

I assume that restarting the IDE has no effect?

Are you able to trigger any refactoring commands in your .h and .cpp files via the IDE VAssistX menu?

If you look in the Open Files dialog, what is listed? Are .h, .cpp and .dox files all being listed?

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