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
 All features grey out
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Daikyo
New Member

France
3 Posts

Posted - Oct 05 2017 :  09:48:54 AM  Show Profile  Reply with Quote
Hello,
I am working in a big company in which we are using Visual Assist for several years now. I haven't faced any issue so far until few weeks.

All features are grey out :
Simple things like renaming a method or create implementation (from right click) and almost all of the others are grey out and I don't understand why.
I am using VS 2015. I tried to reinstall VA, I tried to rebuild/clear caches. I checked the license.

Please help me :)
Thanks!

Edited by - Daikyo on Oct 05 2017 09:55:17 AM

feline
Whole Tomato Software

United Kingdom
18727 Posts

Posted - Oct 05 2017 :  1:16:58 PM  Show Profile  Reply with Quote
It sounds like VA is disabled, or inactive in the current file type.

Can you open the VA options dialog? If so, can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

If you can open the VA Open File in Solution dialog, Alt-Shift-O, is this listing the files in your solution correctly?

What file types / extensions are you opening, and asking VA to work in?

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

Daikyo
New Member

France
3 Posts

Posted - Oct 06 2017 :  03:43:16 AM  Show Profile  Reply with Quote
License: [email protected] (50-user license) Support ends 2018.07.31
VA_X.dll file version 10.9.2237.0 built 2017.10.03
DevEnv.exe version 14.0.25420.1 Professional
msenv.dll version 14.0.25431.1
Comctl32.dll version 6.10.7601.18837
Windows 7 6.1 Build 7601 Service Pack 1
8 processors (x86-64, WOW64)
Language info: 1252, 0x409

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;

Yes, Alt+Shift+O works great and lists all files in the solution.
We are using classic C++ files like *.h, *.cpp and *.inl.

One simple workflow is :
- Focus on a class name
- Right click, go to Quick actions & refactorings (VA)
- Can't click on Rename as it is greyed out

Another one :
- Write new method prototype
- Right click on it and go to Quick actions & refactorings (VA)
- Can't click on Create Implementation as it is greyed out

All like this : [url=https://www.noelshack.com/2017-40-5-1507277009-snap-screen-20171006093939.png][/url]*

A colleague of mine just updated his version of VA and now has the issue as well. Is this some kind of regression ?

Edit:
It seems to be related to the Right click menus because
Alt+Shift+R to rename works
Action from the topbar VASSISTX > Code Generation and Refactorings > Rename works
Action from Right click menu greyed out!


Thanks for your replies

Edited by - Daikyo on Oct 06 2017 04:13:57 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18727 Posts

Posted - Oct 06 2017 :  07:02:29 AM  Show Profile  Reply with Quote
Do you have the context menu key on your keyboard, that brings up the right click menu at the current keyboard caret position?

The entries in the right click menu are enabled and working as normal for me, but with this happening on at least 2 machines, we do seem to have a pattern here.

Please place the keyboard caret into a symbol that VA should understand. Now press Alt-Shift-Q, which should open the VA refactoring context menu. Does this appear, and if so, does it offer a sensible set of commands?

Can you now open the:

IDE VAssistX menu -> Code Generation and Refactoring

and see if the expected commands are enabled here?

Next, if you use the context menu key on the keyboard to open the right click menu, then open "Quick Actions and Refactoring (VA)", are any of the refactoring commands enabled?

I am trying to find out where the problem shows up, and if how you open the menu has an effect. It is possible the mouse right click is a factor in this, but I am not sure why it should be.

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

Daikyo
New Member

France
3 Posts

Posted - Oct 06 2017 :  08:46:34 AM  Show Profile  Reply with Quote
Yes I have the context menu key on the keyboard and tried on a symbol => same issue as with right click, all greyed out
From IDE VASSISTX menu > Code Generations and Refactoring => it works, features are available
Didn't know about the shortcut Alt+Shift+Q (thanks!), this one works fine as well.

So it really seems to be related to the context menu.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18727 Posts

Posted - Oct 07 2017 :  09:45:51 AM  Show Profile  Reply with Quote
Are you using a normal mouse, or a special mouse, perhaps one with extra buttons? Do you use any software to control the mouse? A high DPI screen? I am looking for anything that might offer a hint as to why VA seems to be having problems with the mouse, but also the keyboard context menu.

This is strangely specific. It's not VA's understanding of the code, only how you ask for a menu.

Are there any other items being added to the default IDE context menu, perhaps by another extension? Some form of interaction might explain what is happening here.

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