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

Improve signature printing for language server #26117

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Oct 21, 2024

Improves the signature printing for the language server. symbol_signature.py now handles more cases which improves the user experience when hovering over symbols.

Before this PR
Screenshot 2024-10-21 at 3 26 47 PM

After this PR
Screenshot 2024-10-21 at 3 27 03 PM

Note: symbol_signature.py continues to be a stopgap since we have no universal dyno pretty printer yet, see #24716

[Reviewed by @DanilaFe]

Copy link
Contributor

@DanilaFe DanilaFe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably add some tests for this to prevent regressions, including xfails for odd parentheses.

@jabraham17 jabraham17 merged commit 0700b68 into chapel-lang:main Oct 22, 2024
8 checks passed
@jabraham17 jabraham17 deleted the expand-symbol-sig branch October 22, 2024 22:53
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.

2 participants