Part 3: Advanced Refactoring with AI and Code Analysis
The third part of this book focuses on advanced refactoring techniques using artificial intelligence and modern code analysis capabilities built into Visual Studio.
This chapter introduces GitHub Copilot Chat as a way to refactor, generate, inspect, document, and test code.
We then extensively cover the code analysis capabilities of Visual Studio by introducing the code analysis tooling and rulesets as well as some third-party tools that can help catch additional issues. Finally, we explore how Visual Studio’s code analysis is based on Roslyn Analyzers by building and deploying our own Roslyn Analyzer as both a Visual Studio extension and as a NuGet package.
This chapter will give you a deep understanding of code analysis issues as well as new productivity tools to help detect and resolve issues in their code.
This part contains the following chapters:
- Chapter 11, AI-Assisted Refactoring with GitHub Copilot...