Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA is not enabled for headers?

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
luxtau Posted - May 26 2016 : 07:27:26 AM
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
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 27 2016 : 10:44:03 AM
That also works

If you need to enable the Objective C language again in the future, the registry key setting should help.
luxtau Posted - May 27 2016 : 12:26:02 AM
I just disabled the ObjC language since it no longer needed.
feline Posted - May 26 2016 : 4:54:25 PM
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.
luxtau Posted - May 26 2016 : 2:12:58 PM

Thanks for pointing out, it was "Objective-C Language Service".
feline Posted - May 26 2016 : 1:52:37 PM
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
luxtau Posted - May 26 2016 : 12:45:23 PM
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.
feline Posted - May 26 2016 : 12:23:58 PM
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;"

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