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

feat: return an ExprSyntaxError for invalid references that end in a dot #692

Merged
merged 1 commit into from
Aug 22, 2024

Commits on Aug 21, 2024

  1. feat: return an ExprSyntaxError for invalid references that end in a …

    …dot (commonly occurs in editors for completions)
    
    Detect value expressions of the ExprSyntaxError type when parsing object constructor expressions and use them to add an item to the result even though we skip parsing the object due to recovery after the invalid expression.
    
    This allows the Terraform language server to support completions for object attributes after a dot was typed.
    ansgarm committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    117baa8 View commit details
    Browse the repository at this point in the history