3 ms·
> What Intellicode does is use crowd-sourced data to create a different set of autocomplete suggestions. With that strategy, when one types the dot character ".
by Dayshine 7y ago
> What Intellicode does is use crowd-sourced data to create a different set of autocomplete suggestions. With that strategy, when one types the dot character "." to trigger a context menu for autocompletion, it's sort of a miniature "pagerank" of the most likely methods or properties instead of a "dumb" alphabetical order.
Eh, isn't the whole point that intellicode is trained on your own project? Mine is, it suggests things based on our usage.
- jasode 7y ago>, isn't the whole point that intellicode is trained on your own project? Intellicode may also be trained on your own project but that's definitely not its whole point. Here's an excerpt from https://visualstudio.microsoft.com/services/intellicode/ https://visualstudio.microsoft.com/services/intellicode/: >"IntelliCode recommendations are based on thousands of open source projects on GitHub each with over 100 stars." Perhaps you were thinking of "IntelliSense" instead of "IntelliCode"? Yes, the older IntelliSENSE could parse your custom classes and types and provide autocomplete for them. IntelliCODE is a different algorithm. (I think Microsoft's naming for them is not self-descriptive and confusing.)
- Dayshine 7y agoHuh, weird. I've only ever noticed the "starred" recommendations on our own methods, and it's incredible.
- WorldMaker 7y agoThe biggest place I see a lot of great IntelliCode recommendations so far is React development in Typescript in VS Code. class ComponentName extends React.| The top completions in order at that point are Component and PureComponent. It feels more magical than I would have expected, and it is particularly great having that constant reminder of PureComponent, which is very similar to the Now/UtcNow example above.