Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fdionisi opened this issue Jun 24, 2022 · 4 comments
Open

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

fdionisi opened this issue Jun 24, 2022 · 4 comments
Labels
design [core label] editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label]

Comments

@fdionisi
Copy link
Contributor

fdionisi commented Jun 24, 2022

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/

@fdionisi fdionisi added enhancement [core label] triage Maintainer needs to classify the issue labels Jun 24, 2022
@JosephTLyons JosephTLyons removed the triage Maintainer needs to classify the issue label Jun 24, 2022
@mikayla-maki mikayla-maki added the design [core label] label Aug 5, 2022
@fdionisi fdionisi changed the title Pin to code structure while scrolling Pin to code structure while scrolling (aka "sticky scroll") Mar 21, 2023
@JosephTLyons JosephTLyons transferred this issue from zed-industries/community Jan 24, 2024
@Moshyfawn Moshyfawn mentioned this issue Apr 2, 2024
1 task
@JosephTLyons JosephTLyons added the editor Feedback for code editing, formatting, editor iterations, etc label May 22, 2024
@tkgalk
Copy link

tkgalk commented Jul 31, 2024

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

@lukasbash

This comment was marked as off-topic.

@qaynam

This comment was marked as off-topic.

@vietvudanh

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design [core label] editor Feedback for code editing, formatting, editor iterations, etc enhancement [core label]
Projects
None yet
Development

No branches or pull requests

7 participants