-
|
Hello, been using Dap-view for a while now, great improvement over dap-ui but there has been one thing that has been bugging me that I've been wanting to ask and never got around to it. Within Dap-ui, when you expand a variable via scope or REPL, it will order variables (at least in python) with all public fields first and then all Here is an example below of the exact same variable expansion across the two systems: Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Hey,
Is this dap-ui's OOTB behavior? From taking a brief look at their source, it looks like this feature requires some configuration. (could be mistaken, haven't tested myself)
dap-view's "scopes" view is just an embedded nvim-dap widget. That means we can't easily change its behavior without first going through a change on nvim-dap's side, which is often more complex. However, lately, due to requests like this one (and a couple others), I've been thinking of reimplementing the scopes view "independently" (i.e., on dap-view's side). Initially, I just embedded the widget because I was a Lua n00b, but now I'm much more confident in my Lua skills. I can give it a shot (and jump ahead and implement the sorting feature from dap-ui), but I'll need someone to "give it a spin" and that's where you would come in!
AFAIK, dap-ui and dap-view should behave exactly the same on the REPL side. Both just embed the REPL from nvim-dap. Are you sure that's also the case with the REPL? |
Beta Was this translation helpful? Give feedback.
-
|
Closed by #128 |
Beta Was this translation helpful? Give feedback.



Closed by #128