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

Signature help fixes #950

Merged
merged 5 commits into from
Mar 10, 2024
Merged

Signature help fixes #950

merged 5 commits into from
Mar 10, 2024

Conversation

zth
Copy link
Collaborator

@zth zth commented Mar 10, 2024

  • Ensures that locations are taken into account, so that the deepest signature help item with the cursor is the one that triggers.
  • Refactors the function call lookup so that we try using typed information first before resorting to using the completion enginge for unsaved content. This will yield better results with incremental type checking because type params etc will be instantiated.

zth added 2 commits March 10, 2024 11:08
…for function calls. This will give better results since typed info will have type variables instantiated
@zth zth requested a review from cristianoc March 10, 2024 10:31
Copy link
Collaborator

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

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

Any changes when the incremental compilation is off?

@zth
Copy link
Collaborator Author

zth commented Mar 10, 2024

Any changes when the incremental compilation is off?

Should not be, no.

@zth zth merged commit 9e5bac2 into master Mar 10, 2024
5 checks passed
@zth zth deleted the signature-fixes branch March 10, 2024 20:16
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