Visual Studio 2017 extension not binding 'Insert' key to a command -
i've written small extension containing own legacy macros use customising visual studio editor.
in visual studio 2015, following instruction bound 'insert' key command "cmdidbrieflinepaste". unfortunately same line not work in visual studio 2017:
<keybindings> <keybinding guid="guiddanbarpackagecmdset" id="cmdidbrieflinepaste" editor="guidvsstd97" key1="vk_insert" /> </keybindings>
if add mod1="alt" works (but 'alt' pressed, isn't want).
manually unassigning insert key "edit.overtypemode" makes no difference.
could please tell me either:
a) there way make work?
b) alternatively, how add command visual studio's "all commands" can perform mapping manually through visual studio's options dialog?
well, found question i'd posted several years ago: when implementing vspackage (vsix) vs2015, how new commands listed in options-keyboard?
the answer use
<loccanonicalname>dan.brieflinepaste</loccanonicalname>
and fancy that, works. there's example here: https://www.mztools.com/articles/2014/mz2014019.aspx
Comments
Post a Comment