I'm working on a Scala project, and the REPL output for .scopes is so verbose that it's practically unusable. Below are screenshots of the output as shown in nvim-dap vs IntelliJ (values redacted because work)
nvim-dap
(I know the screenshot is using nvim-dap-ui, but the result is basically the same with vanilla nvim-dap)
IntelliJ
As you can see, IntelliJ prints out much less in the way of type information. All that scala$collection$immutable$RedBlackTree$Tree$$ left RedBlackTree$Tree is essentially noise.
Possible Solutions
A config option added to nvim-dap, either:
A boolean to toggle concise/verbose output, or
A format function that the user provides to format/filter the output themselves
Problem Statement
I'm working on a Scala project, and the REPL output for
.scopes
is so verbose that it's practically unusable. Below are screenshots of the output as shown in nvim-dap vs IntelliJ (values redacted because work)nvim-dap
(I know the screenshot is using nvim-dap-ui, but the result is basically the same with vanilla nvim-dap)
IntelliJ
As you can see, IntelliJ prints out much less in the way of type information. All that
scala$collection$immutable$RedBlackTree$Tree$$ left RedBlackTree$Tree
is essentially noise.Possible Solutions
A config option added to nvim-dap, either:
format
function that the user provides to format/filter the output themselvesConsidered Alternatives
No response