我在Linux上使用IntelliJ IDEA,我注意到两个看起来很相似的键盘图:默认和默认XWin。
我应该在Linux上使用哪一个,有什么区别? 是否可以比较键盘映射(比较默认KDE和默认XWin)。
答案 0 :(得分:4)
例如,默认情况下为Edit -> Find -> Show Usages
,快捷方式为Ctrl+Alt+F7
,
但在Linux中,Ctrl+Alt+F7
将切换到tty7,
因此,在默认XWin中,快捷方式应更改为Ctrl+Alt+7
答案 1 :(得分:3)
这是一些按键映射之间的区别
+-----------------------------------+----------------+-------------------+------------------+-----------------+
| | Default | Default for GNOME | Default for XWin | Default for KDE |
+-----------------------------------+----------------+-------------------+------------------+-----------------+
| Build Project | Ctrl+F9 | | | Ctrl+9 |
| Run to Cursor | Alt+F9 | Alt+Shift+9 | | Alt+Shift+9 |
| Force Run to Cursor | Ctrl+Alt+F9 | Ctrl+Alt+9 | Ctrl+Alt+9 | Ctrl+Alt+9 |
| Show Execution Point | Alt+F10 | Alt+Shift+0 | | Alt+Shift+0 |
| Evaluate Expression... | Alt+F8 | Alt+Shift+8 | | Alt+Shift+8 |
| Stop | Ctrl+F2 | | | Ctrl+2 |
| Toggle Line Breakpoint | Ctrl+F8 | | | Ctrl+8 |
| Esc | Ctrl+Shift+F4 | | | Ctrl+Shift+4 |
| | Ctrl+F4 | | | Ctrl+4 |
| Find Word at Caret | Ctrl+F3 | | | Ctrl+3 |
| View Breakpoints... | Ctrl+Shift+F8 | | | Ctrl+Shift+8 |
| Go to File Member | Ctrl+F12 | | | Ctrl+0 |
| Change Signature... | Ctrl+F6 | | | Ctrl+6 |
| Find Usages / Find Usages in File | Alt+F7 | Alt+Shift+7 | | Alt+Shift+7 |
| | Ctrl+F7 | Ctrl+F7 | | Ctrl+7 |
| Highlight Usages in File | Ctrl+Shift+F7 | | | Ctrl+Shift+7 |
| Introduce Variable | Ctrl+Alt+V | | | Alt+Shift+V |
| Show Usages | Ctrl+Alt+F7 | Ctrl+Alt+7 | Ctrl+Alt+7 | Ctrl+Alt+7 |
| Show Error Description | Ctrl+F1 | | | Ctrl+1 |
| Select In... | Alt+F1 | | | Alt+Shift+1 |
| Reformat Code | Ctrl+Alt+L | | | Alt+Shift+L |
| Navigate Back/Forward | Ctrl+Alt+Left | Alt+Shift+Left | | |
| | Ctrl+Alt+Right | Alt+Shift+Right | | |
+-----------------------------------+----------------+-------------------+------------------+-----------------+
我通过以下方式发现了jetbrains工具套件中的按键映射之间的区别
答案 2 :(得分:0)
我在调试中发现的一个区别:在xfce为GUI的Ubuntu上,如果将Keymap设置为Default XWin,则Alt + Left单击以评估表达式或变量值将无法正常工作。将“键盘映射”设置为“默认”非常有效。
另请参阅:Intellij Idea alt + click to evaluate debugger code not working in Mint