Skip to content

Missing completion/hover/semtok/go-to-* for nested expressions where type cannot be inferred #1265

Open
@radeksimko

Description

@radeksimko

Context

Currently no completion, hover, semantic highlighting, or go-to-definition/reference is provided for nested expressions if those expressions include something that prevents us from inferring the type - such as functions or references.

2023-04-28 08 35 29

2023-04-28 08 38 08

Proposal

  • hcl-lang: Ensure if the real type of attribute with cty.DynamicPseudoType cannot be inferred, it still defaults to cty.DynamicPseudoType
    • Confirm this fixes completion (as shown above)
    • Confirm this fixes hover (as shown above)
    • Confirm this fixes signatureHelp (as shown above)
    • Confirm this fixes semantic highlighting (as shown above)
    • Confirm this fixes go-to-definition (as shown above)
    • Confirm this fixes go-to-references (as shown above)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions