有没有 Visual Studio 的 emacs 插件?

发布于 2024-07-27 04:47:39 字数 273 浏览 2 评论 0原文

我知道包含的 emacs 键绑定,这还勉强可以。

我想知道是否存在更彻底的 Visual Studio emacs 插件,类似于 viemu for vi

我找到了 VisEmacs 但它似乎尚未完成。

I know about the included emacs keybindings, it's barely ok.

I want to know if there exists a more thorough emacs add-in for visual studio similar to viemu for vi.

I found VisEmacs but it seems unfinished.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

半暖夏伤 2024-08-03 04:47:39

您可以尝试 XKeymacs,它在以下位置设置 emacs 键绑定任何 Windows 应用程序。 我尝试过并放弃了它,但你的里程可能会有所不同。

You can try XKeymacs, which sets up emacs key bindings in any windows application. I tried and abandoned it, but your mileage may vary.

宣告ˉ结束 2024-08-03 04:47:39

您可以通过挂钩应用程序的消息循环并“吃掉”所有击键来实现此目的。 当输入执行某些操作的按键序列时,向 Visual Studio 发送直接编辑命令进行处理。

我已经用鼠标完成了此操作,因此我可以将鼠标滚轮变成向上/向下翻页而不是缩放。

我需要查看 emacs 命令状态机以提供更多细节。

编辑:您必须跟踪编辑器焦点才能知道什么是活动的(对话框、工具窗格、文本编辑器、设计器、属性窗口等),但是一旦您完成了几次,这也不错。

编辑 2:上面提到的我的加载项是开源的 (GPL),因此您可以查看它是否为您提供了一个起点。 您可以安装它并在 Program Files 目录中找到源代码,也可以使用 7-zip 解压缩安装程序以提取源代码的 .7z 文件而不进行安装。 这是一个链接(SamTools 版本)。

You could probably do this by hooking the application's message loop and "eating" all keystrokes. When a key sequence to perform some action is entered, send Visual Studio a direct editing command for processing.

I've done this with the mouse so I could turn mouse wheel into pageup/down instead of zoom.

I'd need to see the emacs commands state machine to give more specifics.

Edit: You'd have to track the editor focus to know what is active (dialog, tool pane, text editor, designer, properties window, etc.), but that's not bad once you've done it a few times.

Edit 2: My add-in mentioned above is open source (GPL) so you can see if it gives you a starting place. You can either install it and find the source in the Program Files directory, or use 7-zip to decompress the installer to pull the source's .7z file out without installing. Here's a link (SamTools Releases).

夏末染殇 2024-08-03 04:47:39

Visual Studio 2010 发布了一个很好的插件,使 Visual Studio 中的编码几乎与 emacs 相同。 我发现这是最好的解决方案。

http://visualstudiogallery.msdn.microsoft.com/09dc58c4 -6f47-413a-9176-742be7463f92/查看/讨论

Visual Studio 2010 released a nice add-in that makes coding in Visual Studio almost the same as emacs. I found this to be the best solution.

http://visualstudiogallery.msdn.microsoft.com/09dc58c4-6f47-413a-9176-742be7463f92/view/Discussions

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文