roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Intellisense doesn't suggest short attribute name on lambda parameters

Open KyouyamaKazusa0805 opened this issue 3 years ago • 0 comments

Version Used:

VS2022 17.1 preview 2

Steps to Reproduce:

  1. Type code such as
SizeChanged += ([A] a, b) => { };
  1. While I typing [ to enter the lambda parameter environment, Intellisense always suggests me using the full attribute name AAttribute (in the above example) instead of A:
//               ↓ The next character I'm going to type
SizeChanged += ([

Picture

Expected Behavior:

Intellisense will suggest me using the short attribute name instead of the full name.

Actual Behavior:

Intellisense suggests me using full attribute name.

KyouyamaKazusa0805 avatar Jan 12 '22 14:01 KyouyamaKazusa0805