Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Discuss `inlay_hints.show_value_hints` in debugger docs (#34581)

Cole Millerb9ff53874755
diff --git a/docs/src/debugger.md b/docs/src/debugger.md
index 02c17c41278..7cfbf63cd82 100644
--- a/docs/src/debugger.md
+++ b/docs/src/debugger.md
@@ -177,8 +177,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Stepping granularity
- Description: The Step granularity that the debugger will use
-- Default: line
-- Setting: debugger.stepping_granularity
+- Default: `line`
+- Setting: `debugger.stepping_granularity`
**Options**
@@ -217,8 +217,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Save Breakpoints
- Description: Whether the breakpoints should be saved across Zed sessions.
-- Default: true
-- Setting: debugger.save_breakpoints
+- Default: `true`
+- Setting: `debugger.save_breakpoints`
**Options**
@@ -235,8 +235,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Button
- Description: Whether the button should be displayed in the debugger toolbar.
-- Default: true
-- Setting: debugger.show_button
+- Default: `true`
+- Setting: `debugger.show_button`
**Options**
@@ -253,8 +253,8 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
### Timeout
- Description: Time in milliseconds until timeout error when connecting to a TCP debug adapter.
-- Default: 2000
-- Setting: debugger.timeout
+- Default: `2000`
+- Setting: `debugger.timeout`
**Options**
@@ -268,6 +268,24 @@ The debug adapter will then stop whenever an exception of a given kind occurs. W
}
```
+### Inline Values
+
+- Description: Whether to enable editor inlay hints showing the values of variables in your code during debugging sessions.
+- Default: `true`
+- Setting: `inlay_hints.show_value_hints`
+
+**Options**
+
+```json
+{
+ "inlay_hints": {
+ "show_value_hints": false
+ }
+}
+```
+
+Inline value hints can also be toggled from the Editor Controls menu in the editor toolbar.
+
### Log Dap Communications
- Description: Whether to log messages between active debug adapters and Zed. (Used for DAP development)