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

Add eager completion of children variables in expressions #5978

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

4ian
Copy link
Owner

@4ian 4ian commented Nov 29, 2023

In addition to traditional completions:
image

Also display completions for children variables if the exact name of the variable is entered.
image

This means a full structure can be browsed by choosing the right children, without entering a dot manually.

  • Also avoid listing children with names that can't be used in expressions
    • List them with [""] syntax.
  • Parser fixes
    • Improve error messages so that Variable.. is not accepted.
    • Fix Variable.["test"] that should not be accepted

@4ian 4ian merged commit e2c40ff into master Nov 30, 2023
6 checks passed
@Bouh Bouh deleted the feat/children-eager-completion branch July 10, 2024 20:51
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.

1 participant