如何在IntelliJ IDEA 2017.1中禁用鼠标中键粘贴?

时间:2022-10-07 21:53:47

I have recently updated from version 2016.2 to 2017.1. Not counting this issue, it looks like all settings and plugins were imported from previous version successfully.

我最近从版本2016.2更新到2017.1。不计算此问题,看起来所有设置和插件都是从先前版本成功导入的。

My question is, how to disable this behavior under Linux? I have already bound functionality to my middle button in IDEA, but it is being overwritten by that stupid second clipboard paste which I don't even use.

我的问题是,如何在Linux下禁用此行为?我已经将功能绑定到IDEA中的中间按钮,但是它被我甚至不使用的那个愚蠢的第二个剪贴板粘贴所覆盖。

Only related thing I found in settings was Paste on middle mouse click in Terminal. It did not change anything in the normal main editor pane.

我在设置中找到的只有相关的东西是在终端中鼠标点击粘贴。它没有改变普通主编辑器窗格中的任何内容。

Edit: Few months later and it is still not fixed in current IDEA version. I am paying for the IDE and this feels like being ripped off.

编辑:几个月后,它仍然没有修复当前的IDEA版本。我正在支付IDE,这感觉就像被扯掉了。

2 个解决方案

#1


7  

This worked for me: Go to Settings -> Keymap and select 'Default' from the 'Keymaps:' dropdown in the top left - Or at least select away from 'Default for XWin Copy'. Then remove 'Button2 Click' from 'Paste from X clipboard.'

这对我有用:转到设置 - >键盘映射,然后从左上角的'键盘映射:'下拉列表中选择'默认' - 或至少选择远离'默认为XWin复制'。然后从“从X剪贴板粘贴”中删除“Button2 Click”。

This is a bit of a pain because it resets all your keymaps, but at least it fixes middle click.

这有点痛苦,因为它会重置所有的键盘图,但至少它会修复中间点击。

#2


3  

It's a known issue, please follow for updates:

这是一个已知问题,请关注更新:

  • IDEA-168643 2017 EAP - Middle mouse click always pastes
  • IDEA-168643 2017 EAP - 鼠标中键始终粘贴

#1


7  

This worked for me: Go to Settings -> Keymap and select 'Default' from the 'Keymaps:' dropdown in the top left - Or at least select away from 'Default for XWin Copy'. Then remove 'Button2 Click' from 'Paste from X clipboard.'

这对我有用:转到设置 - >键盘映射,然后从左上角的'键盘映射:'下拉列表中选择'默认' - 或至少选择远离'默认为XWin复制'。然后从“从X剪贴板粘贴”中删除“Button2 Click”。

This is a bit of a pain because it resets all your keymaps, but at least it fixes middle click.

这有点痛苦,因为它会重置所有的键盘图,但至少它会修复中间点击。

#2


3  

It's a known issue, please follow for updates:

这是一个已知问题,请关注更新:

  • IDEA-168643 2017 EAP - Middle mouse click always pastes
  • IDEA-168643 2017 EAP - 鼠标中键始终粘贴