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.

Document project_panel.sticky_scroll (#36721)

Peter Trippa977fbc5b09e
diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md
index 39d172ea5f2..696370e310a 100644
--- a/docs/src/configuring-zed.md
+++ b/docs/src/configuring-zed.md
@@ -3234,6 +3234,7 @@ Run the `theme selector: toggle` action in the command palette to see a current
"scrollbar": {
"show": null
},
+ "sticky_scroll": true,
"show_diagnostics": "all",
"indent_guides": {
"show": "always"
diff --git a/docs/src/visual-customization.md b/docs/src/visual-customization.md
index 3ad1e381d95..24b2a9d7697 100644
--- a/docs/src/visual-customization.md
+++ b/docs/src/visual-customization.md
@@ -430,6 +430,7 @@ Project panel can be shown/hidden with {#action project_panel::ToggleFocus} ({#k
"indent_size": 20, // Pixels for each successive indent
"auto_reveal_entries": true, // Show file in panel when activating its buffer
"auto_fold_dirs": true, // Fold dirs with single subdir
+ "sticky_scroll": true, // Stick parent directories at top of the project panel.
"scrollbar": { // Project panel scrollbar settings
"show": null // Show/hide: (auto, system, always, never)
},