-
Notifications
You must be signed in to change notification settings - Fork 131
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
Support for
-in
-if
expressions
#527
Labels
enhancement
New feature or request
textDocument/completion
textDocument/hover
textDocument/semanticTokens
Semantic syntax highlighting
Comments
radeksimko
added
enhancement
New feature or request
textDocument/completion
textDocument/hover
textDocument/semanticTokens
Semantic syntax highlighting
labels
May 20, 2021
This was referenced May 20, 2021
38 tasks
4 tasks
4 tasks
1 task
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
enhancement
New feature or request
textDocument/completion
textDocument/hover
textDocument/semanticTokens
Semantic syntax highlighting
Background
Terraform supports for expressions. For example:
[for s in var.list : upper(s)]
[for k, v in var.map : length(k) + length(v)]
{for s in var.list : s => upper(s)}
[for s in var.list : upper(s) if s != ""]
Language server currently doesn't support these, which means that e.g.
for
while completing the inside of a list/set (within square brackets[
]
)in
part of afor
expression, e.g.[for s in _HERE_
, nor the result after:
, nor afterif
clausefor
expressionsfor
/in
/if
via semantic tokensProposal
Completion
TODO
Hover
TODO
Semantic Tokens
TODO
The text was updated successfully, but these errors were encountered: