Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description for parameters * is not shown #13461

Closed
slavizh opened this issue Feb 27, 2024 · 0 comments · Fixed by #13546
Closed

Description for parameters * is not shown #13461

slavizh opened this issue Feb 27, 2024 · 0 comments · Fixed by #13546
Assignees
Milestone

Comments

@slavizh
Copy link
Contributor

slavizh commented Feb 27, 2024

Bicep version
Bicep CLI version 0.25.53 (c0ad57d)

Describe the bug
Description for parameters * is not shown in bicep parameters.

To Reproduce
test.bicep

type foo = {
  @description('Description for parameter.')
  *: string
}


param test foo

test.bicepparam

using 'test.bicep'

param test = {
  foo1: 'value1'
}

In the screenshot I am hovering my mouse courser over foo1 but nothing is shown:
image

Additional context
Add any other context about the problem here.

@stephaniezyen stephaniezyen added this to the v0.27 milestone Feb 28, 2024
jeskew added a commit that referenced this issue Mar 11, 2024
…nal properties accesses (#13546)

Resolves #13461 
Resolves #13398

There were a couple of scenarios where the LS was not showing hover
tooltips for properties:
* When hovering over a type property definition
* When hovering over a property name that would match against a value's
additional properties type

There's no way to capture a description for an object's additional
properties type, but the hover can at least show the expected type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
3 participants