Skip to content

improve avm module completion readability with suffix labels and prefix descriptions#18958

Open
polatengin wants to merge 2 commits intomainfrom
polatengin/18957-improve-avm-module-completion-readability-long-paths-small-suggest-widget
Open

improve avm module completion readability with suffix labels and prefix descriptions#18958
polatengin wants to merge 2 commits intomainfrom
polatengin/18957-improve-avm-module-completion-readability-long-paths-small-suggest-widget

Conversation

@polatengin
Copy link
Member

@polatengin polatengin commented Feb 6, 2026

Fixes #18957

Description

Improve module completion readability by showing suffix-first labels and de-emphasizing prefixes for long paths (including AVM).

Add unit tests for AVM suffix labels, prefix-typed filtering, and updated private module label expectations.

Changes I made;

  • Module path completion now uses suffix label with prefix in label details.
  • Sorting favors suffix to keep related modules grouped.
  • Tests updated/added to validate new completion UX.

Note: Existing completion behavior preserved; only display/ordering adjusted.

recording.2026-02-05.161521.mp4

Checklist

Microsoft Reviewers: Open in CodeFlow

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Test this change out locally with the following install scripts (Action run 21734870864)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 21734870864
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 21734870864"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 21734870864
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 21734870864"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Improve AVM module completion readability (long paths + small suggest widget)

1 participant