Releases: sharpenrocks/Sharpen
Releases · sharpenrocks/Sharpen
Sharpen v0.10.1
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
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
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
This prerelease gives you an early insight into the suggestions for the upcoming C# 8.0 features.
It also brings one new suggestion for C# 3.0 Implicitly typed local variables.
A special thanks to @shankyjain7243 for contributing to the C# 3.0 feature.
Sharpen v0.8.0
Sharpen v0.7.0
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
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
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
Added
- "Use nameof expression in dependency property declarations" suggestion.
- "Use nameof expression for throwing argument exceptions" suggestion.
Sharpen v0.4.0
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.