Skip to content

Commit da3a361

Browse files
committed
Introduce dap-ui-expressiosn-expand-depth
1 parent 7cd51e7 commit da3a361

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

dap-ui.el

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,20 @@
4343
:group 'dap-ui)
4444

4545
(defcustom dap-ui-locals-expand-depth 1
46-
"Dap"
46+
"Locals expand strategy.
47+
When nil - do not expand.
48+
t - expand recursively
49+
number - expand N levels."
50+
:type '(choice (const :tag "Do not expand" nil)
51+
(const :tag "Expand recursively" t)
52+
(number :tag "Expand level"))
53+
:group 'dap-ui)
54+
55+
(defcustom dap-ui-expressiosn-expand-depth nil
56+
"Expressions expand strategy.
57+
When nil - do not expand.
58+
t - expand recursively
59+
number - expand N levels."
4760
:type '(choice (const :tag "Do not expand" nil)
4861
(const :tag "Expand recursively" t)
4962
(number :tag "Expand level"))
@@ -918,7 +931,7 @@ DEBUG-SESSION is the debug session triggering the event."
918931
["Refresh" dap-ui-expressions-refresh]))))
919932
dap-ui-expressions))
920933
" Expressions "
921-
nil
934+
dap-ui-expressiosn-expand-depth
922935
dap-ui--expressions-buffer
923936
'(["Add" dap-ui-expressions-add]
924937
["Refresh" dap-ui-expressions-refresh])))))

0 commit comments

Comments
 (0)