Skip to content

Support autocomplete with loosely matching candidates #1177

@tom10271

Description

@tom10271

Versions

v2.23.0

Extension

Screenshot 2022-07-13 at 10 18 46 AM


VS Code

Version: 1.69.0
Commit: 92d25e35d9bf1a6b16f7d0758f25d48ace11e5b9
Date: 2022-07-07T05:28:46.408Z (5 days ago)
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Darwin arm64 21.5.0

Operating System

Screenshot 2022-07-13 at 10 19 31 AM

Terraform Version

Terraform v1.2.4
on darwin_arm64
+ provider registry.terraform.io/hashicorp/google v4.27.0

Steps To Reproduce

  1. The position after resource should have better autocomplete.
    1. Type gacm, it should list all options contains g, a, c, m sequentially.
    2. When I remove a few characters, it should refresh the list. Currently I need to remove everything before it started to refresh again and I cannot type anything wrong, otherwise it will not work until I remove everything again.

Include any relevant Terraform configuration or project structure:

provider "google" {
  project_id = "salesdatawarehouse-dev"
  region     = "asia-east-2"
}

resource "gooa" "name" { <-- Type gacm, it should list all options contains g, a, c, m sequentially.
  
}

Expected Behavior

Actual Behavior

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestterraform-lsFeatures/bugs which will be implemented/fixed purely on the LS side

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions