Skip to content

Rewriting the Watches view #33

@igorlfs

Description

@igorlfs

Up until the implementation of the threads view, nvim-dap-view's main feature was, arguably, the watches view. But in its current state, it's very limited. For instance, there's no way to interact with the variables (e.g., expand, collapse). Also, the usage of virtual lines was a bad choice, in hindsight.

The goal of this issue is to track the reimplementation of the watches view, from the ground up.

Done

  • Reimplementation without relying on virtual lines

TODO

  • Variable expansion (feat(watches): expand variables #49)
  • Better folding / collapsing I guess this comes for free with variable expansion
  • Copying variables
  • setVariables request
  • setExpression request

Future

Maybe this could be built-in into nvim-dap? Could help with some drawbacks (see #46)

Resources

vim.ui.tree
#32

If you're missing anything, please add a comment here (do not create new issues for feature requests about the watches view)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions