Disable Copilot in VS Code/Codespaces

  1. Open the VS Code settings (Ctrl + , or Cmd + , on Mac)
  2. Search for "copilot enable"
  3. If no python item is in the list, click "Add Item" and add python as the key and false as the value
  4. If the python item is in the list already, click the pencil icon to edit the value and change it to false