razor icon indicating copy to clipboard operation
razor copied to clipboard

List Members has a BUG and if it isn't a BUG then it's a bad design...

Open vsfeedback opened this issue 1 year ago • 7 comments

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


[severity:It's more difficult to complete my work] When you have selected a member and wants to change it, you can't see other possible members because it lists only the one you selected. It should always display all members and select in the list the one you already have.

Here's what we get when trying to see other members

image

So to see other members we are forced to delete the one there and show the list members again as shown here :

image


Original Comments

Feedback Bot on 7/5/2023, 11:59 PM:

(private comment, text removed)

Sara Liu [MSFT] on 7/11/2023, 11:37 PM:

(private comment, text removed)

Marc Roussel on 7/12/2023, 00:29 AM:

(private comment, text removed)

Sara Liu [MSFT] on 7/12/2023, 00:44 AM:

(private comment, text removed)

Marc Roussel on 7/12/2023, 00:58 AM:

(private comment, text removed)

Feedback Bot on 10/6/2023, 08:20 PM:

(private comment, text removed)


Original Solutions

(no solutions)

vsfeedback avatar Nov 21 '23 01:11 vsfeedback

Looks like another instance of completion behaving differently. I didn't find traces of us reducing this list. @alexgav I think this could go on the list of things that behaves different in C#?

ryzngard avatar Nov 21 '23 01:11 ryzngard

This appears to be an LSP Roslyn issue as it reproes in C# files if LSP C# editor is enabled. It might be a platform issue, but I'm sending to Roslyn to begin with.

This works fine in non-LSP C# editor. E.g. if cursor is inside of "One", e.g. TestEnum.On$$e, and you invoke completion (Ctrl+J), you get

image

In LSP editor we don't other values in the completion

image

alexgav avatar Mar 01 '24 22:03 alexgav

@ToddGrun @genlu

alexgav avatar Mar 01 '24 22:03 alexgav

Per conversation with Todd, it appears to be a platform issue. Looks like platform is using applicable-to span to filter more aggressively in LSP. Here's HTML LSP repro, where cursor is at <d$$iv>

image

and here's working non-LSP case

image

@AmadeusW

alexgav avatar Mar 01 '24 22:03 alexgav

Thank you for your investigation. If the list is filtered like this after invoking it with Ctrl+J, that's definitely a bug. I'll take a look

AmadeusW avatar Mar 01 '24 23:03 AmadeusW

Thank you for your investigation. If the list is filtered like this after invoking it with Ctrl+J, that's definitely a bug. I'll take a look

Yes, it was Ctrl+J in all repro cases above that I added.

alexgav avatar Mar 01 '24 23:03 alexgav

Related internal AzDO bug (can only be seen by MSFT on VPN) https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1985980

alexgav avatar Mar 02 '24 00:03 alexgav

Fixed on the AzDO side.

phil-allen-msft avatar Apr 16 '24 21:04 phil-allen-msft