Sharpen Versions Save

Visual Studio extension that intelligently introduces new C# features into your existing codebase

v0.10.1

4 years ago

Fixed

  • Navigating with the keyboard (up, down, left, right, ...) does not work in the Sharpen Results view (#29).
  • Selected text in the Sharpen Results view is unreadable when the view loses focus (#28).

A big thanks to @tom-englert for fixing those two issues!

v0.10.0

4 years ago

Added

  • "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.

Changed

  • "Async streams" renamed to "Asynchronous streams".

v0.9.0

4 years ago

Added

  • "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.

Fixed

  • Async-await consider and await suggestions properly handle yielding.

v0.8.99-alpha

4 years ago

This prerelease gives you an early insight into the suggestions for the upcoming C# 8.0 features.

image

It also brings one new suggestion for C# 3.0 Implicitly typed local variables.

image

A special thanks to @shankyjain7243 for contributing to the C# 3.0 feature.

v0.8.0

5 years ago

Added

  • Support for VS 2019.
  • Loading Sharpen extension asynchronously.

Fixed

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

v0.7.0

5 years ago

Added

  • "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.

v0.6.1

5 years ago

Added

  • Better display of Async and Await findings in the Sharpen Results view.
  • "Await task instead of calling Task.Result" suggestion.

v0.6.0

5 years ago

Added

  • "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.

Fixed

  • Consecutive analysis runs fully block Visual Studio (#15).

v0.5.0

5 years ago

Added

  • "Use nameof expression in dependency property declarations" suggestion.
  • "Use nameof expression for throwing argument exceptions" suggestion.

v0.4.0

5 years ago

Added

  • "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.