Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less verbose scopes output #1252

Open
simonmclean opened this issue Jun 3, 2024 · 1 comment
Open

Less verbose scopes output #1252

simonmclean opened this issue Jun 3, 2024 · 1 comment

Comments

@simonmclean
Copy link

simonmclean commented Jun 3, 2024

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
vim
(I know the screenshot is using nvim-dap-ui, but the result is basically the same with vanilla nvim-dap)

IntelliJ

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

Considered Alternatives

No response

@mfussenegger
Copy link
Owner

This is kinda tracked with: #737 and #1062

But part of this is also up to the debug adapter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants