在Mac上的Android Studio中,复制粘贴无法正常工作

问题描述:

我在Mac版本的Android Studio上遇到一个奇怪的问题(即,我无法复制( + C )并粘贴( + V )).我不知道为什么它会像这样奇怪.我的问题可能很愚蠢,但是自从 Windows Mac 开始工作以来,我一直面临着这个问题.任何解决方案和替代方案都将对我有很大帮助.在过去的两天里,我完全陷入了这个问题.

I am facing a weird issue with Mac version of Android Studio (i.e., I am not able to copy ( + C) and paste ( + V) any text). I have no idea why it is behaving strange like this. My question may be silly, but I have been facing this issue since I started working from Windows to Mac. Any solutions and alternatives would be much helpful for me. I am completely stuck with this issue for the past two days.

有几种原因可能会导致您遇到这种情况

There are several reasons why you could be experiencing this

  • 您正在使用 ClipMenu ,而Android Studio不喜欢它
  • 您的键盘绑定被弄乱了.
  • You are using ClipMenu and Android studio doesn't like it
  • Your keybinding is messed up.

要解决键绑定问题,请按文件->设置,然后检查键绑定是什么,您可能已更改它或从其他人导入了设置.参见图片作为参考.

To solve keybinding issue press File -> Settings and check what the keybindings are, you have maybe changed it or imported settings from somebody else. See the image as a reference.

注意:复制过滤器,也需要粘贴.

要修复ClipMenu的问题.

To fix the issue with ClipMenu.

  • 右键单击"Application/IntelliJ IDEA 14.app"
  • 选择显示包装内容"
  • 编辑bin/idea.properties
  • 添加此属性ide.mac.useNativeClipboard=True
  • 重新启动IntelliJ IDEA.
  • Right click on "Application/IntelliJ IDEA 14.app"
  • choose "Show Package Contents"
  • edit bin/idea.properties
  • add this property ide.mac.useNativeClipboard=True
  • restart IntelliJ IDEA.

YouTrack 问题,其中包含更多信息

There is a YouTrack issue with further information