Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse inspection (Ctrl + Shift + I) equivalent in IntelliJ IDEA (Community Edition)

Under Eclipse I can inspect expressions/variables in debug mode with Ctrl+Shift+I. In IntelliJ IDEA (Community Edition), I can add expressions/variables to the watches, but on the next debug they are lost.

Is there any way to inspect variables and expressions on the fly when I'm debugging?

like image 931
cupakob Avatar asked Aug 06 '13 06:08

cupakob


People also ask

What does Ctrl Shift I do in Eclipse?

Under Eclipse I can inspect expressions/variables in debug mode with Ctrl + Shift + I .

How do I get Eclipse shortcuts in IntelliJ?

Configure keyboard shortcuts IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.

How do I act like an Eclipse in IntelliJ?

If you go to File -> Settings -> Keymap you can choose Eclipse from the dropdown list.


3 Answers

Quick evaluate expression with Ctrl + Alt + F8 (or on a Mac: Cmd + Opt + F8) gives me exactly what I want.

like image 78
cupakob Avatar answered Oct 05 '22 08:10

cupakob


Do you mean "Evaluate expression" action Alt + F8?

Many more useful shortcuts are in Intellij Reference Card.

like image 26
Vic Avatar answered Oct 05 '22 10:10

Vic


Ctrl + Alt + F8 will work. This shortcut may trigger the Intel HD Graphics hotkey for resetting display settings.

Alt + Left Mouse Key will also work.

If you want to view/edit the shortcuts, you can go to Settings (Ctrl + Alt + S) -> Keymap and search for Quick Evaluate Expression

like image 38
Sushant Gaikwad Avatar answered Oct 05 '22 09:10

Sushant Gaikwad