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

Razor Intelisense doesn't suggest arguments of nested functions. #6335

Closed
vsfeedback opened this issue Apr 29, 2022 · 3 comments
Closed

Razor Intelisense doesn't suggest arguments of nested functions. #6335

vsfeedback opened this issue Apr 29, 2022 · 3 comments
Labels
author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author feature-completion investigate
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[severity:It bothers me. A fix would be nice]
When I type

DrawRect(new Rect(

I would expect to see Intelisense suggestion about the arguments of the constructor of Rect. But I only see the arguments of DrawRect.


Original Comments

Feedback Bot on 4/23/2022, 11:52 PM:

(private comment, text removed)

Feedback Bot on 4/28/2022, 03:48 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@ghost ghost added untriaged author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author labels Apr 29, 2022
@ryzngard
Copy link
Contributor

I was able to reproduce this with SkiaSharp.Views.Blazor installed and the code below. Note that the tooltip is for the outer DrawRect call and not SKRect even though the cursor is inside the SKRect initializer.

image

Code for copy:

@using SkiaSharp
@using SkiaSharp.Views.Blazor
<SKGLView OnPaintSurface=onPaint>
</SKGLView>

@code {
    void onPaint(SKPaintGLSurfaceEventArgs args)
    {
        args.Surface.Canvas.DrawRect(new SKRect());
    }
}

@NTaylorMullen
Copy link
Contributor

@ryzngard dope, thanks for confirming! I'd make a bet that this is LSP platform not re-requesting signature help

@davidwengier davidwengier modified the milestones: 17.11 Planning, 17.11 P2 Jun 18, 2024
@davidwengier
Copy link
Contributor

This was fixed by Roslyn in dotnet/roslyn#73606

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author feature-completion investigate
Projects
None yet
Development

No branches or pull requests

7 participants