FullyQualifyNamespace light bulb does not appear in certain contexts
See original GitHub issueThis issue is a branch off of the work in #19449 however it addresses a seperate underlying issue highlighted by @ajaybhargavb (link).
Reproduce:
dotnet new blazorserver
- Open
Counter.razor
- In the IncrementCount() method add the following below the currentCount++; line:
RenderTree
.
Invoke the FullyQualifyNamespace light bulb Expected:
private void IncrementCount()
{
currentCount++;
RenderTree // code action for Microsoft.AspNetCore.Components.RenderTree provided
}
Actual:
private void IncrementCount()
{
currentCount++;
RenderTree // code action for Microsoft.AspNetCore.Components.RenderTree (erroneously) not provided
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Visual Studio Code - Light bulb not appearing
Try hovering on it and right click to find Quick Actions Light Bulb or else you can hover and use shortcut key ctrl+...
Read more >Using Quick Actions (Light Bulbs) in COBOL
Creating a copybook from selected lines in the code. You can use the Extract to Copybook quick action as an alternative to the...
Read more >[BUG] Service Bus Trigger connection with managed identity
It does not appear to be resolved. See my comment here for context. How should we be accessing service bus from an isolated...
Read more >Displaying Light Bulb Suggestions - Visual Studio (Windows)
Light bulbs are icons in the Visual Studio editor that expand to display a ... actions appears, along with a preview of the...
Read more >Use smart lights with Google Nest or Home devices
Also, this nickname only appears in the Google Home app. If you use your device maker's app, this nickname will not appear. Assign...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds totally reasonable, just wanted to give it as an options.
Really thorough investigation, nice job Tanay! We need to keep the filtering as-is because we don’t support every light bulb diagnostic. Given this is “by design” from Roslyn’s perspective we want to treat it the same as well. I’d close this issue as by-design.