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

[feat] Group functions by name + type + arity in document symbols #833

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

scohen
Copy link
Collaborator

@scohen scohen commented Oct 14, 2024

If a module had multiple heads for a function that only differed in parameter pattern matches, document symbols was very cluttered. This change groups functions in a module by their name and arity, with each implementation nested in that grouping. This allows editors to collapse function groups to save space.

This change also removes any whitespace or linebreaks from function names.

If a module had multiple heads for a function that only differed in
parameter pattern matches, document symbols was very cluttered. This
change groups functions in a module by their name and arity, with each
implementation nested in that grouping. This allows editors to
collapse function groups to save space.

This change also removes any whitespace or linebreaks from function names.
@scohen scohen merged commit 6b245c2 into main Oct 28, 2024
12 checks passed
@scohen scohen deleted the improve-document-symbols branch October 28, 2024 01:00
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

Successfully merging this pull request may close these issues.

1 participant