How to add my own command to the SSMS context menu?
I'd like to add my own command to the SSMS 2018 context menu, but it is one command for right-click on Server node, another for database node. How to do it?
You can use the Command Explorer to find the GUID/ID pair needed for the location of the commands you'll add
Thank you, great extension! There are all available menus for VS, but may be you can me pick: what are the context menus for Server node and for the Database node? Sorry but I really cannot find them :-) I.e. when user clicks Server and Database nodes.
In my AddIn for SSMS 2012 I redefined methods: OnConnection, OnDisconnection etc like this public void OnConnection(object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) and did menu manipulation there. To test I have added the same methods to the SSMS-Schema-Folders but they not called anymore in VS2017 Shell extension.