Search code examples
visual-studiovisual-studio-2019intellicode

How do I update my IntelliCode model in Visual Studio 2019?


I created some models from my various solutions but I'm wondering how I can update them to take advantage of changes in the code in those solutions. Or does this happen automatically? I could delete and recreate the models but that seems like overkill...


Solution

  • You don't have to delete the model, just retrain it. As of this writing the way you'd refresh your model is by:

    1. Open the solution you want to refresh the model for.
    2. Open the "IntelliCode Model Management" window in Visual Studio.
    3. After the current solution model is shown click on the "Retrain" button

    Retrain button image

    Let me know if you have any questions.

    David from the IntelliCode team.