You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: scopes view
* docs: mention scopes view
* docs(README): remove non-goals section since it no longer makes sense
* fix(scopes): make sure buffer exists before refresh
You can also interact with the console provided by `nvim-dap` (though, arguably, that's not a feature from `nvim-dap-view`). By the default, the console has its own window, but it can be configured to be shown with the other views, details on the [defaul config](#configuration) section.
You can also interact with the console, which is also provided by `nvim-dap`. By the default, the console has its own window, but it can be configured to be shown with the other views. See details on the [defaul config](#configuration) section.
115
120
116
121
The console's default size (height) is resized to match your `nvim-dap-view` configuration. You can also either completely [hide](#hide-terminal) it (if it's not being used at all) or hide it only during session initialization.
117
122
@@ -129,7 +134,7 @@ return {
129
134
winbar= {
130
135
show=true,
131
136
-- You can add a "console" section to merge the terminal with the other views
@@ -155,9 +160,9 @@ Start a regular debugging session. When desired, you can use `:DapViewOpen` to
155
160
start the plugin. You can switch to a view (section) using the letter outlined
156
161
in the `'winbar'` (e.g., `B` for the breakpoints view).
157
162
158
-
Both the breakpoints view and the exceptions view have only 1 mapping: `<CR>`.
159
-
It jumps to a breakpoint and toggles an exception filter, respectively. The
160
-
watches view comes with 3 mappings:
163
+
The breakpoints view, the exceptions view and the scopes view only have 1
164
+
mapping: `<CR>`. It jumps to a breakpoint, toggles an exception filter, and
165
+
expands a variable, respectively. The watches view comes with 3 mappings:
161
166
162
167
-`i` to insert a new expression
163
168
-`e` to edit an expression
@@ -181,7 +186,7 @@ In total, there are 5 commands:
181
186
-`DapViewWatch`
182
187
-`DapViewJump [view]`
183
188
184
-
You can `:DapViewJump [view]` to jump directly to a view, from any window. For instance, to jump to the REPL, you can use `:DapViewJump repl` to jump to REPL.
189
+
You can `:DapViewJump [view]` to jump directly to a view, from any window. For instance, to jump to the REPL, you can use `:DapViewJump repl`.
185
190
186
191
Additionally, you can use `DapViewClose!` and `DapViewToggle!` to also hide the
187
192
terminal window, if you'd rather have a tidy view.
@@ -294,7 +299,7 @@ They are linked to (somewhat) reasonable defaults, but they may look odd with yo
Implement every feature from [nvim-dap-ui](https://github.com/rcarriga/nvim-dap-ui). More specifically,
331
-
332
-
-**There will be no "scopes" view** (i.e., list all variables in scope). The rationale is that `nvim-dap` already provides a very nice UI for that, using widgets (see `:h dap-widgets`). The TLDR is that you can use
to create a nice, centered floating window, where you can navigate and explore variables. A major advantage from this approach is that you're not limited to a small window at the bottom of your screen (which can be troublesome in noisy environments or languages).
0 commit comments