本文介绍了Idea在热键中将“Ctrl + Slash”视为“Ctrl + Period”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我刚刚迁移到Fedora Linux并在使用我的想法时遇到了这个问题。我有一个笔记本(没有小键盘),我以前在同一个笔记本上使用了与Win10完全相同的Idea(最新,最新)并没有遇到过这个。

So I've just migrated to Fedora Linux and ran over this problem when using my Idea. I have a notebook (no numpad) and I previously used the very same Idea (Ultimate, latest) with Win10 on this very same notebook and did not experience this.

I使用默认的英文版面。在QWERTY的下一行,右边有按钮,它也是带有shift的。它在其他地方按预期工作,但在Idea中,当我将它用作 + 快捷方式时,它实际上将其视为 + 因此,它不会评论选定的代码块,而是将其折叠。我在设置 - >键盘图中检查了它,这正是Idea如何解释它。

I use default English layout. In the lower row of QWERTY, to the right there is button which is also with shift. It works as expected anywhere else, but in Idea, when I use it as a + shortcut it actually treats it as a + Thus, instead of commenting selected block of code, it collapses it. I checked it in Settings -> Keymap and this is exactly how Idea interprets it.

有没有办法将其改回正常状态?我真的不想重新绑定这个热键,因为我已经习惯了。

Is there any way to change this back to normal? I don't really want to rebind this hotkey as I'm used to it by now.

推荐答案

发布一个有用的解决方法我。
所以我遇到的错误是,它是怪如何仍然存在。

Posting a workaround that helped me.So the bug i'm experiencing is this one and it's weird how the bug is still there.

所以在我的情况下它没有按预期工作,因为我将俄语键盘布局设置为第一个。将俄语翻译成第二名,将英语翻到第一名,为我解决问题。这不是一个解决方案,而不是解决方法,但它对我有用。

So in my case it didn't work as expected because I had Russian keyboard layout set as first. Switching Russian to second and English to first fixed the problem for me. That's not really a 'solution', rather than a 'workaround', but it worked for me.

这篇关于Idea在热键中将“Ctrl + Slash”视为“Ctrl + Period”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 18:27