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

Complete current token #7

Open
NicoLaval opened this issue Aug 12, 2023 · 0 comments
Open

Complete current token #7

NicoLaval opened this issue Aug 12, 2023 · 0 comments

Comments

@NicoLaval
Copy link

Considering the following input:

a = un in a grammar where un can be a constant, but where un can also be the 2 first letters of the union token.

At this point, autocomplete suggest nothing, maybe because this potential constant complete the script.

Would not be great, if the end of the script is not a whitespace, to ignore the last token in the list, to run the programme and then to filter suggestions with the getText() of the ignored token?

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

No branches or pull requests

1 participant