问题
On Windows, and I think Mac, holding alt + left click
on a section of code when paused in the debugger will evaluate the expression and show the value in a tooltip. It's much more convenient than alt + f8
and ctrl + alt + 8
.
In Linux Mint, holding alt and clicking doesn't do anything (I've disabled Mint's "Special key to move and resize windows").
Is there a way to map it to alt + left click
, or a different key combination to evaluate an expression by clicking on it?
回答1:
Found it mapped to ctrl + alt + shift + left click
under Quick Evaluate Expression
as a Mouse Shortcut.
回答2:
Settings -> keymap, change from "Default for XWin" to "Default"
来源:https://stackoverflow.com/questions/38701384/intellij-idea-alt-click-to-evaluate-debugger-code-not-working-in-mint