dotnet/roslyn

C# Interactive "Alt + Enter" broken since 16.8.x

Ouverte

#51 733 ouverte le 7 mars 2021

 (1 commentaire) (0 réaction) (1 personne assignée)C# (4 257 forks)batch import
Area-InteractiveBughelp wanted

Métriques du dépôt

Stars
 (20 414 étoiles)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

Version Used: C# Interactive 3.9.0-6.21124.20 VS2019 16.9

Steps to Reproduce:

  1. Open VS2019 then open C# Interactive Window.
  2. Type some class name that is not of System namespace, because System namespace is default using. For example type ipaddress, case insensitive.
  3. Press Alt + Enter.
  4. It does nothing here.

Expected Behavior: After press Alt + Enter, it will ask you whether using System.Net, if I press enter again, it will auto complete the using System.Net; and auto convert ipaddress to IPAddress like the following image. In VS2019 16.7.x this is default behavior. Since 16.8.x it is broken!!!!!!!!

image

Actual Behavior: Nothing happen.

image

Guide contributeur