[英]How Can I Paste Text From Another Application Into Visual Studio with Emacs Emulation Extension?
After copying text from another program, when I switch to Visual Studio with the Emacs Emulation extension and try to paste the text, none of the following methods work: 从其他程序复制文本后,当我切换到带有Emacs Emulation扩展的Visual Studio并尝试粘贴文本时,以下方法都不起作用:
How can I paste text from an outside application into a copy of Visual Studio that is running the Emacs Emulation extension ? 如何将外部应用程序中的文本粘贴到运行Emacs Emulation扩展的Visual Studio副本中 ?
As above - Ctrl - Shift - Ins ( Edit.CycleClipboardRing
) does work for this (at least it does for me having got the emacs add-in to load in VS2012,) so you can then go into Tools->Options, select Environment->Keyboard, and remove the Ctrl - Y shortcut, then assign Ctrl - Y to Edit.CycleClipboardRing
. 如上所述 - Ctrl - Shift - Ins ( Edit.CycleClipboardRing
)确实可以正常工作(至少我已经在VS2012中加载了emacs加载项,所以你可以进入Tools-> Options,选择Environment - >键盘,然后删除Ctrl - Y快捷键,然后将Ctrl - Y分配给Edit.CycleClipboardRing
。
Repeating Ctrl - Y does cycle the clipboard ring, which is a side-effect I can live with... I guess if you reassign Alt - Y to be the same command then generally this will do what you expect. 重复Ctrl - Y确实循环剪贴板响铃,这是我可以忍受的副作用...我想如果你重新分配Alt - Y是相同的命令,那么通常这将做你期望的。
Ctrl-Shift-Ins
( Edit.CycleClipboardRing
) will paste the contents of the Windows clipboard into Visual Studio. Ctrl-Shift-Ins
( Edit.CycleClipboardRing
)会将Windows剪贴板的内容粘贴到Visual Studio中。
As far as the other, more standard methods not working, this is a known bug in the Emacs Emulation extension. 至于另一种,更多的标准方法不起作用,这是Emacs Emulation扩展中的一个已知错误。 From the extension's Visual Studio Gallery page : 从扩展的Visual Studio Gallery页面 :
Cut/copy/paste from other applications into Visual Studio does not work with the Emacs extension installed. 从其他应用程序剪切/复制/粘贴到Visual Studio中不能与安装的Emacs扩展一起使用。 We're working on a fix for this issue and will post an updated version of the extension when a fix is available. 我们正在针对此问题进行修复,并在修复程序可用时发布更新版本的扩展程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.