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# (20,414 stars) (4,257 forks)batch import
Area-IDEBughelp wanted

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

Variable naming suggestions should prefer long form · dotnet/roslyn#20927 | Good First Issue