CS 133: Disabling AI-assisted coding in Visual Studio Code
If you use
Microsoft's Visual Studio Code (VS Code) as your IDE, please be aware
that many of its AI features (including automatic as-you-type code
completion and code generation) are enabled by default in recent versions.
You'll want to disable these features for this course.
Disabing the AI Features
If you have it, please:
- Disable or uninstall the IntelliCode extension.
This might have been added automatically by the Extension Pack for Java.
Go to the same "Extensions" view on the left-hand side bar of VS Code.
Under the "Installed" section, scroll to find the IntelliCode extension
and click the "Disable" or "Uninstall" button.
- Disable or uninstall GitHub Copilot.
Go to the same "Extensions" view as before, and
click the "Disable" or "Uninstall" button.
- Disable Chat. Open VS Code's Settings by clicking
"Code" in the top menu bar, then "Settings...", then "Settings". In the
search box that appears, type "disable ai". One of the results should be
something like "Chat: Disable AI features"; ensure the checkbox is checked.
Note that you may need to restart VS Code for these changes to take effect.