Disable Next Line / Auto-fixes do not always show up
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
User @ChristopherGLewis discovered an issue with our autofixes and lightbulb suggestions. Related to #8016 and #7222
We need to investigate what could be causing this inconsistent behavior.
Repro steps:
Type in:
```
param ArtifactsLocation
```
He mentioned that if he hovers over the param keyword or at the start of the line, you only see @ decorators. But I believe when he hovers over the yellow squiggly he does get the disable parameters
There is more information in [Christophers comment in 8016](https://github.com/Azure/bicep/issues/7222#issuecomment-1220720564)
Contributor guide
Research direction
Start by reproducing the reported behavior with `param ArtifactsLocation`, checking hover positions and the yellow squiggly for differences. Read the details in related issues #8016 and #7222, then trace the lightbulb and autofix handling described there. Done means the disable-parameter suggestions appear consistently in the relevant hover and lightbulb contexts.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100