question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FullyQualifyNamespace light bulb does not appear in certain contexts

See original GitHub issue

This issue is a branch off of the work in #19449 however it addresses a seperate underlying issue highlighted by @ajaybhargavb (link).

Reproduce:

  1. dotnet new blazorserver
  2. Open Counter.razor
  3. 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:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanbrandenburgcommented, Apr 2, 2020

Sounds totally reasonable, just wanted to give it as an options.

1reaction
NTaylorMullencommented, Apr 1, 2020

Are there any preferences for this? @ryanbrandenburg @NTaylorMullen @ajaybhargavb

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found