Using Emacs bindings in Visual Studio Community 2015

后端 未结 2 406
傲寒
傲寒 2021-01-01 21:12

I am trying to follow the below StackOverflow question to get Emacs in Visual Studio Community but have had no success.

Emacs Keybindings in Visual Studio 2012 or 2

2条回答
  •  旧巷少年郎
    2021-01-01 21:32

    To install the EmacsEmulations.vsix file for Microsoft Visual Studio Community 2015 (which reports its version as 14.0), there is an installer tool, VSIXInstaller.exe, in the folder:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>

    After modifying the vsix file as per post mention above (inserting version "14.0" and edition "Community" in my case), the following worked for me from an admin command line (fill in your own full paths):

    VSIXInstaller.exe /a EmacsEmulations.vsix

    Note that after selecting Emacs in the keyboard mapping drop down in Tools/Options/Environment, the change didn't seem to take right away. I restarted Visual Studio and it didn't take yet either.

    I then searched for installed key bindings with "emacs" in the name and they were there. Seemingly after that they were then active in the editor, so I'm not 100% sure what it was that triggered the activation.

提交回复
热议问题