126 words
1 minutes
How to Hide Copilot from Code Actions (Lightbulb Menu)

The Problem#

When hovering over code, the lightbulb icon (Code Actions) shows Copilot suggestions mixed in with ESLint fixes, TypeScript refactoring, and other actions.

This makes it harder to find the Code Actions you actually need.

The Solution#

The github.copilot.editor.enableCodeActions setting lets you remove Copilot from the Code Actions menu.

How to Configure#

  1. Open Settings with Ctrl + ,
  2. Search for copilot code actions
  3. Uncheck “GitHub > Copilot > Editor: Enable Code Actions”

Example settings.json#

{
  "github.copilot.editor.enableCodeActions": false
}

The default is true (enabled). Setting it to false removes Copilot suggestions from the lightbulb menu, leaving only the standard Code Actions.

NOTE

Disabling this setting does not affect Copilot inline suggestions or Chat. It only changes what appears in the Code Actions menu.

Summary#

Set github.copilot.editor.enableCodeActions to false to declutter the lightbulb menu and keep only the Code Actions you need.

How to Hide Copilot from Code Actions (Lightbulb Menu)
https://naonao-na.com/en/posts/vscode-copilot-setting-code-actions/
Author
[object Object]
Published at
2026-04-04