Skip to content

Releases: sharpenrocks/Sharpen

Sharpen v0.10.1

12 Oct 20:29
Compare
Choose a tag to compare

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!

Sharpen v0.10.0

10 Oct 14:31
Compare
Choose a tag to compare

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

Sharpen v0.9.0

03 Aug 23:06
Compare
Choose a tag to compare

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.

Sharpen v0.8.99-alpha

11 May 08:17
Compare
Choose a tag to compare
Sharpen v0.8.99-alpha Pre-release
Pre-release

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.

Sharpen v0.8.0

17 Feb 08:11
Compare
Choose a tag to compare

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

Sharpen v0.7.0

20 Nov 16:45
Compare
Choose a tag to compare

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.

Sharpen v0.6.1

08 Oct 12:06
Compare
Choose a tag to compare

Added

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

Sharpen v0.6.0

05 Oct 20:05
Compare
Choose a tag to compare

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

Sharpen v0.5.0

27 May 14:17
Compare
Choose a tag to compare

Added

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

Sharpen v0.4.0

14 May 17:06
Compare
Choose a tag to compare

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.