Java Type Renderers
for macOS
Ctrl+Alt+S
IntelliJ IDEA allows you to specify how different objects are displayed in the debugger on a class-by-class basis. You can assign the expressions to be displayed rather than rely on the object's String representation.
For example, if an object represents a user, you may want it to be represented by login names; or, for a cache entry object, its content may be appropriate. IntelliJ IDEA refers to these as type renderers.
All object types are supported (including primitive types and arrays).
If no rendering scheme is defined, this dialog does not show any controls. To start working with renderers, click .
Item | Description |
---|---|
Renderer name | The name of the renderer. This name is used for managing renderers and doesn't affect how actual data is displayed. |
Apply renderer to objects of type (fully-qualified name) | The object type to which this renderer applies. Enter the fully qualified name of the class or click Browse and choose the desired type from the list. If the class uses generics, use raw types for them. Due to type erasure, the types inside the diamond operator have no effect in renderers. |
When rendering a node | This option determines how an object itself is displayed:
|
When expanding a node | This option determines how the contents of an object are displayed when it is expanded.
|
Append default children | Controls whether the fields of the object (that would be normally displayed when no renderer is specified) should appear along with the expression results. This option is only available with Use list of expressions. |