Using Visual IntelliCode
IntelliCode is the tool integrated into VS 2022, which allows you to write code faster, thanks to AI. It is a tool that has been trained with thousands of popular open source projects hosted on GitHub, and although it was already beginning to show a little of its potential in VS 2019, it is in VS 2022, where all the features have been implemented.
IntelliCode can suggest patterns and styles while you write code, giving you accurate suggestions according to the context in which you find yourself, so you can complete lines of code. IntelliCode is also able to show you the methods and properties you are most likely to use and supports completion in multiple programming languages, such as the following:
- C#
- C++
- XAML
- JavaScript
- TypeScript
- Visual Basic
Let’s examine how this amazing tool works in the following subsections.
Whole line completions
IntelliCode can be extremely useful in helping you complete entire lines...