Completion of module source
and version
#672
Labels
enhancement
New feature or request
modules
Functionality related to the module block and modules generally
terraform-ls
Features/bugs which will be implemented/fixed purely on the LS side
Milestone
Problem Statement
Module
source
s are not always easy to get right and often times these are copy-pasted, or typed manually (which increases the risk of typos). Either way the user would benefit from some extra help there.Relatedly users would benefit from being able to pick a version from a list, instead of typing it in.
Expected User Experience
source
Screen.Recording.2022-04-22.at.11.52.58.mov
version
User will be provided with a list of published versions for a given Terraform Registry-published module.
Screen.Recording.2022-04-22.at.11.53.45.mov
Typing will filter versions and versions will be sorted with the latest ones on top (unlike in the recorded demo).
Proposal
hashicorp/terraform-ls#869
Implementation Notes
LSP autocompletion part of the spec uses
isIncomplete
which we should probably use for the dynamic results from the APIhttps://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_completion
The text was updated successfully, but these errors were encountered: