如何在 OSX 上禁用 Android Studio/IntelliJ IDEA 剪贴板管理 [英] How to disable Android Studio / IntelliJ IDEA clipboard management on OSX
问题描述
我使用 ClipMenu 在 OSX 上管理我的剪贴板.Android Studio 的剪贴板堆叠/管理功能会干扰 ClipMenu 的功能,我正在寻找一种在 Android Studio 中禁用此功能的方法.有没有人有这方面的经验?
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?
我已经试过了:
- 删除副本和在 Android Studio 中粘贴快捷方式(也许可以恢复系统行为)-> 复制 &在 Android Studio 中禁用粘贴
- 将保存在剪贴板中的最大内容数"设置为 0 或 1
- 除此之外,我在搜索剪贴板"时在 Android Studio 的首选项中没有找到任何设置
我想避免使用 Android Studio 的剪贴板堆叠,因为我想在整个操作系统中使用一致的从历史粘贴"快捷方式.
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.
干杯!
更新由于 Android Studio 倾向于在更新时覆盖更改,我创建了一个 mini-bash 脚本来重新修复"剪贴板(在 OS X 上;只需调整其他操作系统的路径):
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
推荐答案
右击Application/IntelliJ IDEA 14.app"选择Show Package Contents",编辑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 for this problem with additional information.
这篇关于如何在 OSX 上禁用 Android Studio/IntelliJ IDEA 剪贴板管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!