Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VS2010 Language Service disables VA features

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
AnthonyBrien Posted - Apr 03 2012 : 10:56:17 AM
Since upgrading to VS2010, some VA features like Multiple Clipboards, Auto-Extent multiline comments, etc. have stopped working on some of our custom language code files.

We have a language service implemented through a set of MEF extensions (ITaggerProvider, IIntellisenseControllerProvider, etc). But when the language service is active, all VA features turn off. This used to work in VS2008 with the same language service but implemented through a VSPackage.

Does anyone have an idea what's causing VA to disable its features when a language service is registered for that file type?

Thanks
5   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Dec 17 2015 : 12:44:07 PM
case=65881 is implemented in build 2086 via a registry string value named CustomContentTypes

You must create the string value.
Set the value to the name of your custom content type and terminate with a semi-colon.
Add your custom file extension to the ExtPlainText registry string value (terminate with a semi-colon).
Set RestrictVaToPrimaryFileTypes to 00.
see http://support.wholetomato.com/default.asp?W407 for registry location.
feline Posted - Apr 05 2012 : 4:29:49 PM
I have your email, thank you for the helpful response, I am seeing the same problems here, and I have put a bug report in for this:

case=65881

For the paste menu, are you able to access the content of the IDE clipboard ring in your extension?

IDE Edit menu -> Cycle Clipboard Ring

If you turn off:

VA Options -> Advanced -> General -> Display paste menu with X items

you should be able to use the IDE clipboard ring, this is working for me in .pl files. It is not as nice as the VA paste menu, but hopefully this will be a useful work around for now.
feline Posted - Apr 03 2012 : 5:43:04 PM
Is there any chance to get a copy of your language service, purely for testing purposes, along with a sample code file? I understand this may not be possible, but its worth asking just in case. If so we would only use the language service to investigate this problem.

If possible, please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.
AnthonyBrien Posted - Apr 03 2012 : 5:03:33 PM
If I disable my language service, VA becomes active in those files. They are a custom extension (e.g. .myd) and we didn't specifically tell VA about this extension, it just works.

However the syntax of these files resembles C++ and C# so maybe that's why VA activates on them.

We tried the steps described in the linked article to register our extension as a C++ file but it didn't help.

If this is impossible, is there a way to hook into VA multiple clipboard from our own language service?
feline Posted - Apr 03 2012 : 4:41:44 PM
If you disable this language service is VA active in these files? I assume these files have a custom file extension, so VA may always be inactive in these files, unless you have specifically told VA about these files. This is explained in these FAQ entries:

http://docs.wholetomato.com?W353

http://docs.wholetomato.com?W328

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