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
 VA is not enabled for headers?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

luxtau
New Member

4 Posts

Posted - May 26 2016 :  07:27:26 AM  Show Profile  Reply with Quote
VS 2015 Update 2 (14.0).
VAX 2098

Visual Assist works fine with source files, but almost completely disabled for C++ headers (which are in project!).

I'm in doubt why.

VS 2010 without this issue, btw. 2013 too, but I'm not sure.

Here is a screenshots:
https://gyazo.com/d7caa9277ca14387ced4b63df4f85228 - source
https://gyazo.com/95c3ff7802d231f19b4530ac331e1b77 - header

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - May 26 2016 :  12:23:58 PM  Show Profile  Reply with Quote
That's bizarre. First up, can you please try creating a new, default C++ solution, and see if VA is enabled in the header files in this solution?

Also can you please look at:

VA Options -> Projects and Files -> Extensions to ignore:

and see if you have any extensions listed, especially to see if you have .h listed for some strange reason.

Can you also please run regedit, and look at:

HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VANet14\ExtHeader

and see if ".h" is in the list of extensions? For me, this registry key is set to ".h;.hh;.hpp;.hxx;.ipp;.tlh;.inl;.p;.rh;.dh;.ih;.ph;.hm;"

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

luxtau
New Member

4 Posts

Posted - May 26 2016 :  12:45:23 PM  Show Profile  Reply with Quote
Hello, thanks for your answer.

Extensions to ignore: none.
ExtHeader:
.h;.hh;.hpp;.hxx;.ipp;.tlh;.inl;.p;.rh;.dh;.ih;.ph;

And they are the same between 2010 and 2015. If delete this value, VA restores back as
.h;.hh;.hpp;.hxx;.ipp;.tlh;.inl;.p;.rh;.dh;.ih;.ph;.hm;

without working still.

But - if rename some header from ".h" to ".hh", VA became enabled for it. And disabled after renaming back to ".h".

Also I can send registry difference between VANet10 and VANet14 if it will help.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - May 26 2016 :  1:52:37 PM  Show Profile  Reply with Quote
Do you know if you have any language services installed, any extensions or tools installed for supporting other languages? It's almost as if another language is laying claim to the .h files, which can cause VA to step back and leave these files alone.

If you look at:

IDE Tools menu -> Extensions and Updates...

what extensions are listed on you system? For VS2015 Update 2 with VA I have the following extensions listed:

Azure AD Authentication Connection Service
Developer Analytics Tools v5.2.0
Get Xamarin
Microsoft Advertising SDK for Windows 8.1
Microsoft Advertising SDK for Windows Phone 8.1 XAML
Microsoft ASP.NET and Web Tools
Microsoft ASP.NET Web Frameworks and Tools
Microsoft Azure Mobile Services Connected Service
Microsoft Azure Storage Connected Service
Microsoft Connected Services
Microsoft Office 365 API Tools
NuGet Package Manager for Visual Studio 2015
TypeScript for Microsoft Visual Studio
Visual Assist
Visual Studio Extension for TextMate Grammars
Visual Studio Extensions for Windows Library for JavaScript

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

luxtau
New Member

4 Posts

Posted - May 26 2016 :  2:12:58 PM  Show Profile  Reply with Quote

Thanks for pointing out, it was "Objective-C Language Service".

Edited by - luxtau on May 26 2016 2:13:41 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - May 26 2016 :  4:54:25 PM  Show Profile  Reply with Quote
This makes sense. We had another similar report a little while ago, and found a workaround. Can you please try closing all instances of the IDE, then run regedit, and create and set the string value:

HKEY_CURRENT_USER\SOFTWARE\Whole Tomato\Visual Assist X\VANet14\CustomContentTypes = "ObjectiveC;"

if you now restart the IDE VA should now be active and working correctly in the .h file, even with the Objective C service still working.

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

luxtau
New Member

4 Posts

Posted - May 27 2016 :  12:26:02 AM  Show Profile  Reply with Quote
I just disabled the ObjC language since it no longer needed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - May 27 2016 :  10:44:03 AM  Show Profile  Reply with Quote
That also works

If you need to enable the Objective C language again in the future, the registry key setting should help.

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