Skip to content

Define custom "toString()" in variables view #236

@mojo2012

Description

@mojo2012

Eclipse has a functioality to setup a custom "toString" method (called "Detail Formatter") on each type in the variables view. This is handy when you have objects that don't come with a nice toSring method. It allows you to directly show the useful information.
Example details formatter: getName() + ": " + getBirthDate()

Environment
  • Operating System: macOS 10.12.6 (16G1212)
  • JDK version: 1.8.0_144-b01
  • Visual Studio Code version: 1.20.0 (1.20.0)
  • Java extension version: 0.18.1
  • Java Debugger extension version:0.6.0

detailformatter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions