If you have found this article, you already know that Copilot bloatware has been integrated into Visual Studio Code. While we all believe that giant companies waste their money for the sake of humanity and have no interest in your data, I (and perhaps you) still find it much easier to write my code by myself than engage in continuous code reviewing of hallucinating LLM.
With all being said, I want to share my configuration that I use to disable AI-related stuff in Visual Studio Code. I assume the configuration may become obsolete in time, so I’ll try to update this article to reflect the latest changes in VS Code.
Chat (Copilot)#
We will start with opening command palette via ⌘ Cmd+⇧ Shift+P (Ctrl+Shift+P on Windows) and selecting Preferences: Open Workspace Settings (JSON).
Next lines will disable “Chat” (aka Copilot) features:
"chat.agent.enabled": false,
"chat.commandCenter.enabled": false,
"inlineChat.accessibleDiffView": "off",
"terminal.integrated.initialHint": false
Keybindings#
You may also want to disable keybindings as well. Again, use the command pallete and select Preferences: Open Keyboard Shortcuts. You have to search all commands by the keyword “chat” and disable anything suspicious.
GitLab Workflow extension#
If you use GitLab Workflow extension, you may know about their own invention brought to use by their caring marketing department. With this snippet, you can disable Duo (but not the green owl) as well:
"gitlab.duoChat.enabled": false,
Afterwords#
If you like to use LLMs and think that this technology makes you more efficient, fine. Just remember that everything you produce within your code editor is done by you, and all mistakes done by LLMs are yours as well. Nobody but you are responsible to check LLM’s output, be respectful to your colleagues, please.