dotnet/roslyn

Variable naming suggestions should prefer long form

Open

#20.927 aperta il 17 lug 2017

Vedi su GitHub
 (10 commenti) (0 reazioni) (2 assegnatari)C# (4257 fork)batch import
Area-IDEBughelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

Version Used: 15.3 Preview 4

Steps to Reproduce:

  1. Open a file with an existing method, which also has an import to System.Threading
  2. In the method, start to declare a local variable by typing CancellationToken c

Expected Behavior:

cancellationToken is the suggested name (soft selection).

Actual Behavior:

cancellation is the suggested name (soft selection).

Guida contributor