Determining the Return Type of Expression

Type Info is very helpful on a per-expression basis to understand your code.

Place the caret at the necessary code element and press ⌃⇧P (macOS) / Ctrl+Shift+P (Windows/Linux) or select View | Type Info from the main menu.

Related Resources

New live templates for main methods
New live templates for main methods
Create an instance main method using a live template.
Live templates for simple IO
Live templates for simple IO
Add simple IO methods using live templates.
Inlay Hints
Inlay Hints
Inlay hints provide additional information about your code.