Open your VS Code workspace
In the left sidebar, look for a .vscode folder.
Inside .vscode, locate or create a file named settings.json.
Add the following configuration:
{
"github.copilot.enable": {
"*": false
},
}
Save the file. VS Code will apply the setting immediately.