Skip to content

Comments

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

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

improve avm module completion readability with suffix labels and prefix descriptions#18958
polatengin wants to merge 3 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 22259977132)

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

@matebarabas
Copy link
Contributor

Hi @polatengin, thanks for this PR! Let's align on this internally first before proceeding. Thanks again!

@polatengin polatengin marked this pull request as draft February 19, 2026 20:49
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)

2 participants