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

Nested outline for (javascript) functions #23075

Open
1 task done
NRodriguezcuellar opened this issue Jan 13, 2025 · 0 comments
Open
1 task done

Nested outline for (javascript) functions #23075

NRodriguezcuellar opened this issue Jan 13, 2025 · 0 comments

Comments

@NRodriguezcuellar
Copy link

Check for existing issues

  • Completed

Describe the feature

When using a framework like React you usually have a few big functions that are either components or hooks that have a lot of logic within like variables inner functions etc. etc.

Currently the outline only shows the top functions even if the functions is 700+ lines of code and contains a lot of inner variables and methods. It would be nice to have a dropdown like system which allows you to unfold the functions to navigate across it.

Zed Version and System Specs

request feature

If applicable, add mockups / screenshots to help present your vision of the feature

Current situation:

image

It would be nice if you could press enter on the focused function and be shown an inner method like:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants