在Visual Studio社区2015中使用Emacs绑定

问题描述:

我试图按照下面的*问题来获取Emacs在Visual Studio社区,但没有成功。

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

Emacs Visual Studio 2012或2013年的关键字

我能够从上述问题的最佳答案中获得第5步):
从管理员命令提示符执行启动emacsemulations.vsix

I was able to get to step 5) from the above question's best answer: "execute start emacsemulations.vsix from the administrator command prompt"

但是,我得到:此扩展程序无法安装在任何当前安装的产品上

安装日志说:找到已安装的产品 - Microsoft Visual Studio社区2015和找到已安装的产品 - Microsoft Visual Studio 2015 Shell(集成)

The install log says: "Found Installed Product - Microsoft Visual Studio Community 2015" and "Found Installed product - Microsoft Visual Studio 2015 Shell (Integrated)"

然后我尝试跳过步骤7)并将emacs.vsk复制到C:并在VS的命令窗口(View / Other Windows / Command Window)中键入Edit.EmacsBreakLine,但获得了Command编辑EmacsBreakLine\\ Program Files(x86)\Microsoft Visual Studio 14.0\Common 7\IDE不可用。

I then tried skipping to step 7) and copied emacs.vsk into "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common 7\IDE" and typed Edit.EmacsBreakLine in VS's command window (View/Other Windows/Command Window) but got "Command "Edit EmacsBreakLine" is not available".

在步骤5或步骤7结束时,Emacs仿真器不起作用。我的预感是,EmacsEmulation.vsix - extension.vsixmanifest中设置的版本设置不正确,但我不知道要使用哪个版本:

At the end of step 5 or step 7, the Emacs emulator does not work. My hunch is that the version set in the EmacsEmulation.vsix - extension.vsixmanifest is set incorrectly, but I do not know which version to use:

<SupportedProducts>
    <VisualStudio Version="11.0">
    <Edition>Pro</Edition>
    </VisualStudio>
</SupportedProducts>

我已尝试版本= 12和edition = Express_All

I have tried version=12 and edition=Express_All

谢谢!

通过将版本更改为14,使其正常工作。因此,它将如下所示: / p>

I made it work by change the version to 14. So it will look like this:

<SupportedProducts>
    <VisualStudio Version="14.0">
    <Edition>Pro</Edition>
    </VisualStudio>
</SupportedProducts>

所有其他步骤与此帖子相同:
https://*.com/a/14087731/3112973

All the rest of the steps are the same from this post: https://*.com/a/14087731/3112973

并使确定 Emacs.vsk 列在 C:\Program Files(x86)\Microsoft Visual Studio 14.0\Common7\IDE\ 。这是具有键绑定分配的文件。如果没有,只需从链接中的步骤2中解压缩的文件夹复制它。

And make sure that Emacs.vsk is listed in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\. This is the file with the key binding assignments. If not, just copy it from the folder that you unzipped in step 2 in the link.