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

Simplify completionHandler gotoHandler & hoverHandler #671

Merged
merged 3 commits into from
Sep 27, 2022

Conversation

Techatrix
Copy link
Member

Every one of these function forward the responsibility of writing the response to their many callees which results in unnecessary extra code. Instead let them just return the result and send the response in the Handler itself.

Also include smaller changes like correctly sorting completion items when using import or embedFile completions, more explicit error unions and using an ArrayList in uri.pathRelative.

@Techatrix Techatrix requested a review from leecannon September 26, 2022 18:49
@Techatrix Techatrix merged commit f52e529 into zigtools:master Sep 27, 2022
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