Radek Simko

Results 290 issues of Radek Simko

## Background We plan to introduce various code actions to help users diagnose and fix configuration as per https://github.com/hashicorp/vscode-terraform/issues/720 Tracking usage of these code actions would help us understand the...

enhancement

https://github.com/hashicorp/terraform-ls/runs/4701688983?check_suite_focus=true#step:10:19 ``` ================== WARNING: DATA RACE Write at 0x00c000525d50 by goroutine 99: runtime.closechan() /Users/runner/hostedtoolcache/go/1.17.5/x64/src/runtime/chan.go:355 +0x0 github.com/hashicorp/terraform-ls/internal/langserver/diagnostics.(*Notifier).PublishHCLDiags.func1() /Users/runner/work/terraform-ls/terraform-ls/internal/langserver/diagnostics/diagnostics.go:52 +0x44 sync.(*Once).doSlow() /Users/runner/hostedtoolcache/go/1.17.5/x64/src/sync/once.go:68 +0x127 sync.(*Once).Do() /Users/runner/hostedtoolcache/go/1.17.5/x64/src/sync/once.go:59 +0x46 github.com/hashicorp/terraform-ls/internal/langserver/diagnostics.(*Notifier).PublishHCLDiags() /Users/runner/work/terraform-ls/terraform-ls/internal/langserver/diagnostics/diagnostics.go:51 +0x10e github.com/hashicorp/terraform-ls/internal/langserver/handlers.updateDiagnostics.func1·dwrap·1() /Users/runner/work/terraform-ls/terraform-ls/internal/langserver/handlers/hooks_module.go:111 +0x8b...

bug

## Background See https://github.com/hashicorp/terraform/pull/29832 (landed in `1.1.0`) ## Proposal ### `hcl-lang` - [x] https://github.com/hashicorp/terraform-ls/issues/496 - This may not be _strictly_ a pre-requisite but it would likely make implementation easier if...

enhancement
language-parity

## Background See https://github.com/hashicorp/terraform/pull/28709 Introduced in v1.0.0 and backported to [0.15.4](https://github.com/hashicorp/terraform/blob/v0.15/CHANGELOG.md#0154-may-19-2021) ## Proposal ### `hcl-lang` - [ ] Allow blocks to be targeted with _additional_ address via `AdditionalAddress` in [`BlockAddrSchema`](https://pkg.go.dev/github.com/hashicorp/[email protected]/schema#BlockAddrSchema)...

enhancement
textDocument/definition
textDocument/hover
textDocument/references
textDocument/semanticTokens

## Use-cases Whenever we semantically highlight type-aware reference addresses, we compare types strictly (minus unknown/dynamic type which is handled as edge case). Some types are however convertible to another, e.g....

enhancement
textDocument/completion
textDocument/definition
textDocument/hover
textDocument/declaration
textDocument/references
textDocument/semanticTokens

## Background Terraform has a rich ecosystem of providers published in the [Terraform Registry](https://registry.terraform.io/browse/providers). In order to use a provider in Terraform 0.12+, the user has to declare it explicitly,...

enhancement
textDocument/completion

This is part of https://github.com/hashicorp/vscode-terraform/issues/635 ### Use-cases (Follow up on https://github.com/hashicorp/terraform-ls/issues/27) The user can run `terraform validate` since 0.11 as a command (if dedicated clients such as VS Code extension...

enhancement
textDocument/codeAction
textDocument/publishDiagnostics
linting

## Background LSP provides [`textDocument/signatureHelp`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_signatureHelp) to provide the client with data about a function within the context of a function call. Terraform configuration language has a number of [built-in functions](https://www.terraform.io/docs/configuration/functions.html),...

enhancement
textDocument/signatureHelp

## Background The language server performs indexing of files, which involves parsing, decoding, running external commands or processing HTTP requests to external server - all of which can take time....

enhancement
window/*
$/progress

Depends on https://github.com/hashicorp/terraform-ls/issues/522 --- ### Current Version ``` 0.16.2 ``` ### Use-cases Terraform supports templating via [`templatefile` function](https://www.terraform.io/docs/language/functions/templatefile.html). Files which contain the templating syntax currently didn't have any established convention...

enhancement
textDocument/completion
textDocument/definition
textDocument/hover
textDocument/declaration
textDocument/semanticTokens
textDocument/publishDiagnostics