How to disable Android Studio / IntelliJ IDEA clipboard management on OSX

你。 提交于 2020-08-21 06:05:10

问题


I'm using ClipMenu for managing my clipboard on OSX. The clipboard stacking/mgt feature of Android Studio interferes with ClipMenu's features and I'm looking for a way to disable this feature in Android Studio. Does anyone have experience with this?

I already tried:

  • Removing Copy & Paste Shortcuts in Android Studio (to maybe get the system behaviour back) -> Copy & Paste disabled in Android Studio
  • Setting "Maximum number of contents to keep in clipboard" to 0 or 1
  • apart from that I did not find any settings in Android Studio's Preferences when searching for "clipboard"

I want to avoid using Android Studio's clipboard stacking as I want to use a consistent shortcut for "Paste from history" throughout my OS.

Cheers!

Update As Android Studio tends to overwrite the changes on update, I created a mini-bash script to re-"fix" the clipboard (on OS X; just adjust the path for other OSes):

echo "ide.mac.useNativeClipboard=true" >> /Applications/Android\ Studio.app/Contents/bin/idea.properties

回答1:


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.

There is a YouTrack issue for this problem with additional information.



来源:https://stackoverflow.com/questions/27949064/how-to-disable-android-studio-intellij-idea-clipboard-management-on-osx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!