vsip

How to Extending vs2010 editor context menu for .js file?

笑着哭i 提交于 2019-11-30 15:48:05
I have a VS2010 VSIP package with several commands,Those commands are added to the javascript editor's context menu,and i am using <Group guid="guidPrettyJsCmdSet" id="ContextMenuGroup" priority="0x0600"> <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/> </Group> but it work only C# file,how to make it work for .js file? The HTML/CSS/JS code editors actually show different context menus than the main code editor. Unfortunately, the Guid/ID pairs for these context menus aren't published or defined in the Visual Studio SDK. However, there is a debug hook (since VS 2005 SP1) that lets you

How to Extending vs2010 editor context menu for .js file?

江枫思渺然 提交于 2019-11-29 22:56:54
问题 I have a VS2010 VSIP package with several commands,Those commands are added to the javascript editor's context menu,and i am using <Group guid="guidPrettyJsCmdSet" id="ContextMenuGroup" priority="0x0600"> <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/> </Group> but it work only C# file,how to make it work for .js file? 回答1: The HTML/CSS/JS code editors actually show different context menus than the main code editor. Unfortunately, the Guid/ID pairs for these context menus aren't