Skip to content

priyanshu92/AsyncMethodNameFixer

Repository files navigation

Async Method Name Fixer

Download this extension from the VS Marketplace or get the CI build


Nuget Nuget Build Status Azure DevOps tests

The easiest way to analyze and fix method names for asynchronous methods.

See the change log for changes and road map.

Features

  • Fix Async Method Names.
  • Ignores overridden methods.
  • Ignores Main method.
  • Ignores interface implemented methods.
  • Ignores test methods.

Fix Async Method Names

If there is any asynchronous method violating the naming convention then the analyzer will show a warning and the lightbulb to fix it.

Warning

Clicking on the lightbulb or pressing Ctrl + . will show the fix with preview.

Fix Preview

Pressing return will apply the fix and rename the method at all places.

Fixed

Contribute

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

About

A roslyn analyzer with code fixer which shows warning if any asynchronous method is violating the naming conventions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published