Shortcut key to evaluate expression/variable in IntelliJ IDEA
Alt + F8 is the shortcut key to evaluate expression/variable in the IntelliJ IDEA. You can only evaluate a expression/variable if the code/program is running in the Debug mode.
Step 1: Run your program in the Debug mode and add a breakpoint from where you want to evaluate the expression/variable of the program.
Step 2: Select the variable that you want evaluate and press Alt + F8 together from the keyboard.

Step 3: Click on the Evaluate button to see what’s inside of your variable.

Alternatively, you can also evaluate the expression by Selecting the variable, make a Right Click on it and click on the Evaluate Expression…
References
- IntelliJ IDEA – public static void main shortcut
- IntelliJ IDEA – System.out.println shortcut
- Reformat and rearrange code
Similar Posts
- WAMP/XAMPP Server- .htaccess redirect rule not working on localhost
- How to increase Eclipse toolbar icon size
- Deploy jasper reports in JasperReports Server using Parameters
- How to create user in JasperReports Server
- How to delete duplicate rows in Excel
- How to search Java, JSP file in Eclipse IDE?
- Maven- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- IntelliJ IDEA shortcuts for equals() and hashCode()
- How to customize command prompt in Windows 7?
- How to convert Dynamic Web Project to Maven Project in Eclipse
