dotnet/roslyn

Variable naming suggestions should prefer long form

Open

#20,927 opened on Jul 17, 2017

View on GitHub
 (10 comments) (0 reactions) (2 assignees)C# (4,257 forks)batch import
Area-IDEBughelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

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).

Contributor guide