Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Adding help to MEF extension: F1 doesn't work

$
0
0

I'm developing a Visual Studio MEF extension that provides support for a language: colorization, completion, quick info etc.

I also provide help system for the language and integrate it into Visual Studio help. The help files are packaged into mshc file which I install through Microsoft Help Viewer. I used this tutorial to make this work: http://thirdblogfromthesun.com/2011/05/create-a-basic-help-file-for-the-microsoft-help-viewer/

I can browse my help from Contents tab in Help Viewer. I added Microsoft.Help.F1meta tags to my help files with all the correct keywords and I expect help files to be shown when I press F1 with a cursor positioned on a keyword, as it happens when I do this in C# file for example. This doesn't happen for my language though, and a generic help page is displayed instead ("Writing Code in the Code and Text Editor")

I used Ook sample to build the extension. As a test I even tried to add a help for Ook the same way I do it for the language I'm working on but I get the same result: even though I can see the help files in Help Viewer, a generic help page is displayed when press F1 with cursor on a "ook" word.

I enabled "Debug Help Context" window in Visual Studio and I can see that no F1 keywords are being fired when I place cursor on keywords of my language.

Can anyone provide any insight? Should I maybe do something more than Ook sample when registering my language file extension?

Best regads,

Serge


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>