Intellisense just got smarter..using Intellicode
Intellicode is a new feature Microsoft is adding to Visual Studio, integrated into the existing intellisense, Intellicdoe adds machine learning powered suggestions to the auto-completion list. Microsoft says the default machine learning model is based on thousands of open source git hub projects.
Eventually, Intellicode will also use it’s knowledge to catch common bugs in code review, and make suggestions based on your code.
Intellicode is now available as a Visual Studio extension, but it appears that it may be added as a default feature in the future.
According to the FAQ in the Microsoft documentation, Intellicode is in preview mode, and will likely involve some cost once in full release. Weather this means requiring a higher level VS sku, or even as additional add on fee/ service, remains to be seen.
I tried out the extension, and like what I see so far. See example below. My most used symbols now appear with a ⭐star next to them. I love this sort of thing.. I think it would be cool if you had the option of turning off all the items that aren’t identified as having star.
Intellisense is great, but when working with large classes with lots of properties, methods, or extension methods, the provided list is WAY too long. I almost never scroll through the list.
Get the Extension: Download the Intellicode Visual Studio 2017/2019 Extension HERE
Train a Model Based on Your Code: Open a solution (this is more fun with a big solution with a lot of code), and train a custom model. The Intellicode functionality lives it’s own separate window. You can find the window in the Visual Studio View->Other Windows->Intellicode
Before Applying Intellicode
After Intellicode
For more and updated information, see microsoft link below…