-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Ability to expand to more lines in multi-buffer view #5377
Comments
This is something I've been interested in for awhile. Some ideas I that came to mind were:
|
I could definitely see an expand button next to the ‘jump to’ button. Would help lower the cycle time on exploring APIs usages in large codebases. |
Just my 2c: sometimes you need a couple more lines of context because of formatting in some places but not in others. Being able to expand views individually on demand would be nice in such situations. |
Feedback from @erikareads in the Gleam Discord:
|
This PR adds in the UI and a keybinding to expand the multi-buffer excerpts: You can customize the number of lines that get expanded (see the PR). I think we can close this issue out. This does not add in the ability to shrink the excerts, but if the demand for that is high enough for that, we can add that in in a a follow-up. |
Is your feature request related to a problem? Please describe.
Project search and multi-buffer editing is a killer feature. Kudos!
But at times when searching for a term in a big/unknown repo, you may want to have more context around the result.
Describe the solution you'd like
Similarly as the GitHub PR provides (fig. below), would be cool if the multi-buffer view could allow users to expand lines above and/or below a result.
Describe alternatives you've considered
Perhaps having the ability to open the file in a normal buffer view, but would defeat the amazing multi-buffer experience.
The text was updated successfully, but these errors were encountered: