Chapter 3. Writing IDE Code Fixes, Refactorings, and Intellisense Completion Providers
In this chapter, we will cover the following recipes:
- Creating, debugging, and executing a
CodeFixProvider
to fix a compiler warning - Applying batch code fixes (FixAll) across different scopes: document, project, and solution
- Creating a custom
FixAllProvider
to fix all occurrences of an issue across a scope - Creating a
CodeRefactoringProvider
to refactor source code to recommend using C# 7.0 tuples - Creating a
CompletionProvider
to provide additional intellisense items while editing code - Writing unit tests for a
CodeFixProvider