zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.57k stars 3.13k forks source link

Pin to code structure while scrolling (aka "sticky scroll") #5344

Open fdionisi opened 2 years ago

fdionisi commented 2 years ago

Is your feature request related to a problem? Please describe. It's easy to get lost while coding on long functions (or classes, Impl blocks, etc..).

Describe the solution you'd like Like in Xcode 14, Zed could pin code structure while scrolling. This feature should be provided with an on/off configuration (I bet not everybody would like it 😁).

Screenshots

ezgif-5-1fb52ddbd3

Image from https://appcircle.io/blog/whats-new-in-xcode-14-wwdc22/

tkgalk commented 3 months ago

Similar features in other places, but most relevant might be https://github.com/nvim-treesitter/nvim-treesitter-context as it works on treesitter.

lukasbash commented 2 months ago

Any updates on the priority of this? Would be an awesome feature 👍

qaynam commented 2 months ago

any update????

vietvudanh commented 1 week ago

I would much prefer to has this feature when working with huge YAML file like for k8s.