Skip to content

extendable param files intellisense for shared bicepparam files#19061

Merged
polatengin merged 5 commits intomainfrom
polatengin/14519-extendable-param-files-intellisense-for-shared-bicepparam-files
Apr 15, 2026
Merged

extendable param files intellisense for shared bicepparam files#19061
polatengin merged 5 commits intomainfrom
polatengin/14519-extendable-param-files-intellisense-for-shared-bicepparam-files

Conversation

@polatengin
Copy link
Copy Markdown
Member

@polatengin polatengin commented Feb 22, 2026

Fixes #14519

Description

This PR adds full IntelliSense support for base in .bicepparam files that use extends statements, including both symbol completion (base) and member completion (base.<param>, nested object and array item members).

Example Usage

// main.bicep
param one string = ''
param two string = ''
param three string = ''
param four object = {
  name: ''
  value: ''
}
param five array = [
  {
    name: ''
    value: ''
  }
]

// shared.bicepparam
using none
param three = 'param three'
param four = {
  name: 'param four'
}
param five = [
  {
    name: 'param five'
  }
]

// main.bicepparam
using 'main.bicep'
extends 'shared.bicepparam'
param one = 'param one'
param two = base.three
param four = base.four
param five = [
  base.five[0]
]

Expected devex with this PR:

  • base is suggested in completion when extends is present
  • base. suggests inherited assignments from the extended params file
  • base.four. suggests object properties (e.g. name)
  • base.five[0]. suggests array item object properties

Checklist

Microsoft Reviewers: Open in CodeFlow

@polatengin polatengin added this to the v0.41 milestone Feb 22, 2026
@polatengin polatengin self-assigned this Feb 22, 2026
@polatengin polatengin linked an issue Feb 22, 2026 that may be closed by this pull request
@polatengin polatengin added this to Bicep Feb 22, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Bicep Feb 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 22, 2026

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

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

@stephaniezyen stephaniezyen modified the milestones: v0.41, 0.42 Mar 4, 2026
Copy link
Copy Markdown
Contributor

@levimatheri levimatheri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@polatengin polatengin merged commit 68d52df into main Apr 15, 2026
41 checks passed
@polatengin polatengin deleted the polatengin/14519-extendable-param-files-intellisense-for-shared-bicepparam-files branch April 15, 2026 16:56
@github-project-automation github-project-automation Bot moved this from Todo to Done in Bicep Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Extendable Param Files] Intellisense for shared .bicepparam files

3 participants