问题
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