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

Text completions #103

Merged
merged 5 commits into from
Sep 26, 2023
Merged

Text completions #103

merged 5 commits into from
Sep 26, 2023

Conversation

aabounegm
Copy link
Member

@aabounegm aabounegm commented Sep 25, 2023

Uses the previously declared symbols in all previous files (and the currently open one) to provide a list of completion items, displaying their type and definition location.

image

One known caveat for now is that if there is an error in the current file (e.g.: in the process of defining something), previous declarations in the same file will not show up. This is a known imperfection in the incremental type checker itself

@fizruk fizruk merged commit c1b3c1d into develop Sep 26, 2023
2 checks passed
@fizruk fizruk deleted the completion branch September 26, 2023 06:06
@fizruk fizruk mentioned this pull request Sep 26, 2023
@fizruk
Copy link
Member

fizruk commented Sep 26, 2023

The caveat has been addressed (with some relatively ugly code) in 0e28ed0.

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.

None yet

2 participants