All notable changes to the "Sharpen" extension will be documented in this file.
The format of the file is based on Keep a Changelog.
Numbers in round brackets represent corresponding GitHub issues, if available.
Mentions in square brackets represent contributors.
- Navigating with keyboard (up, down, left, right, ...) does not work in the Sharpen Results view (#29) [@tom-englert].
- Selected text in the Sharpen Results view is unreadable when the view loses focus (#28) [@tom-englert].
- "Consider using ??= operator instead of assigning result of the ?? operator" suggestion.
- "Use ??= operator instead of assigning result of the ?? operator" suggestion.
- "What is/was new in C# X.Y?" link to MSDN documentation on C# version in the Sharpen Results view.
- "Learn more..." link to MSDN documentation on language features in the Sharpen Results view.
- "Async streams" renamed to "Asynchronous streams".
- "Consider replacing using statement with using declaration" suggestion.
- "Replace using statement with using declaration" suggestion.
- "Consider replacing switch statement containing only returns with switch expression" suggestion.
- "Consider replacing switch statement containing only assignments with switch expression" suggestion.
- "Replace switch statement containing only returns with switch expression" suggestion.
- "Replace switch statement containing only assignments with switch expression" suggestion.
- "Enable nullable context and declare local variable as nullable" suggestion.
- "Enable nullable context and declare property as nullable" suggestion.
- "Enable nullable context and declare field as nullable" suggestion.
- "Consider awaiting equivalent asynchronous method and yielding IAsyncEnumerable" suggestion.
- "Await [...] instead of calling [...]" suggestions support local functions.
- "Use var keyword in variable declaration with object creation" suggestion (#18) [@shankyjain7243].
- Async-await consider and await suggestions properly handle yielding.
- Support for VS 2019.
- Loading Sharpen extension asynchronously.
- Sharpen does not support VS 2019 but is listed on VS Marketplace under that version (#19).
- Dependency alert: Visual Studio MPF 15.0 - already installed MPF 16.0 (#21).
- "Analyze with Sharpen" menu item on the folder context menu.
- "Analyze with Sharpen" menu item on the file context menu.
- "Analyze with Sharpen" menu item on the project context menu.
- "Analyze with Sharpen" menu item on the solution context menu.
- "Analyze with Sharpen" menu item on the C# file editor context menu.
- Better display of Async and Await findings in the Sharpen Results view.
- "Await task instead of calling Task.Result" suggestion.
- "Await Task.Delay() instead of calling Thread.Sleep()" suggestion.
- "Await Task.WhenAll() instead of calling Task.WaitAll()" suggestion.
- "Await Task.WhenAny() instead of calling Task.WaitAny()" suggestion.
- "Await task instead of calling Task.Wait()" suggestion.
- "Await equivalent asynchronous method" suggestion.
- "Consider awaiting equivalent asynchronous method" suggestion.
- Consecutive analysis runs fully block Visual Studio (#15).
- "Use nameof expression in dependency property declarations" suggestion.
- "Use nameof expression for throwing argument exceptions" suggestion.
- "Discard out variables in object creations" suggestion.
- "Discard out variables in method invocations" suggestion.
- "Use out variables in object creations" suggestion.
- "Use expression body for local functions" suggestion.
- "Use out variables in method invocations" suggestion.
- Grouping of the analysis results by C# language feature.
- "Use default expression in optional constructor parameters" suggestion.
- "Use default expression in optional method parameters" suggestion.
- "Use default expression in return statements" suggestion.
- Icon, preview image and release notes.
- Grouping the results by C# Version > Suggestion > <Project>\File.
- Display of the analysis results in a tree view.
- Analysis of the whole solution.
- "Use expression body for get-only properties" suggestion.
- "Use expression body for get-only indexers" suggestion.
- "Use expression body for constructors" suggestion.
- "Use expression body for destructors" suggestion.
- "Use expression body for get accessors in properties" suggestion.
- "Use expression body for get accessors in indexers" suggestion.
- "Use expression body for set accessors in properties" suggestion.
- "Use expression body for set accessors in indexers" suggestion.