Visual Studio IntelliCode (IntelliCode) is a set of AI-assisted capabilities that improve developer productivity with features like contextual IntelliSense, argument completion, code formatting, and style rule inference.
Note: there are minimum Visual Studio requirements to see AI-assisted IntelliSense by language; if you’re not seeing recommendations you may not have a high enough version of Visual Studio:
IntelliCode augments your IntelliSense experience by recommending commonly used completion items at the top of the list based on your context. Contextual recommendations are based on the best practices developed in thousands of open-source codebases. This means you get context-aware code completions, tool-tips, and signature help rather than alphabetical or most-recently-used lists. By predicting the most likely member in the list based on your coding context, AI-assisted IntelliSense stops you from hunting through the list yourself.
With this preview feature, if you’re using C#, you can have IntelliCode build a custom model to provide recommendations on code that isn’t in the open source domain, such as methods on your own utility classes or domain specific library calls. To build your model, we locally extract a summary file from your code and submit it to our service to build your model. We keep the trained models secured, so only you and those who have been given your model’s sharing link can access them–so your model and what it’s learned about your code stay private to you. See our FAQ for more details.
Custom models are off by default. To enable them, go to Tools > Options > IntelliCode and change C# custom models to Enabled.
IntelliCode generates an .editorconfig file on-demand, to best match the coding conventions found in your codebase. Simply right-click on the solution, project, or folder where you want the conventions to apply, and select “Add” then “New EditorConfig file (IntelliCode)”. For projects you can also select “add” then “New Item” then “EditorConfig file (IntelliCode)”
Once generated, this file will help you maintain consistency in your code across your team. You can fix style and formatting violations with existing lightbulbs (for style issues) or using the Code Cleanup command (for formatting and some style issues).
Style rule inference is off by default. To enable this feature, go to Tools > Options > IntelliCode and change EditorConfig inference to Enabled.
For detailed information you can also check out our FAQ
IntelliCode features in this extension will be updated periodically. There is much more to come – sign up here for future news and updates!
How do I report feedback and issues?
Just use the built-in Visual Studio “Report a Problem” option, and mention IntelliCode in your report: