F1 Help (Dynamic Help/Context Sensitive Help) from Custom Language Service... RRS feed

  • Question

  • Hello,

    I am trying to add Help on F1  in my custom language service. I did look the example from SDK and other documentation on MSDN. I implemented
    IVsLanguageContextProvider interface in my language service. On running my languageservice  from Experimental Hive I do get break in UpdateLanguageContext function on pressing F1. I addthe context
    ErrorHandler.ThrowOnFailure(userContext.AddAttribute(VSUSERCONTEXTATTRIBUTEUSAGE.VSUC_Usage_LookupF1, "keyword", line));
    Where line is the one selected for getting help. Somhow when it opens the dynamic help window it shows my selected text under Index but in the document explorer it shows standard topic not found message. I tried different ways like calling help service but the result is same. Also I do get event UpdateLanguageContext call twice.
    I also set HKCU\<root hive>\Dynamic Help\Display Debug Output in Retail registry value to “YES”,
    I will appriciate the help!

    • Edited by Jane Wang - MSFT Monday, December 16, 2013 5:46 AM "Sensative" should be "Sensitive"
    Monday, February 22, 2010 9:02 PM


All replies