Skip to content

Code Actions are enabled by default #14341

@luc0x61

Description

@luc0x61

Environment

  • OS and Version: Windows 11 Pro 25H2
  • VS Code Version: 1.114.0
  • C/C++ Extension Version: 1.31.4
  • If using SSH remote, specify OS of remote machine: n.a.

Bug Summary and Steps to Reproduce

Bug Summary:

Code Actions is enabled by default, without any option to be disabled in settings UI

Steps to reproduce:

  1. Open/create a .c/.h file with an enum definition like the following
Image
  1. Left click on a defined enumerator
  2. The light bulb icon of Code Actions will appear, and will be enabled to be interacted with (menu)

Expected behavior:

  • Processing step 2. there shall not be a resulting icon/menu as in step 3.

Configuration and Logs

From settings.json:

    "C_Cpp.vcFormat.indent.preserveWithinParentheses": true,
    "C_Cpp.vcFormat.indent.withinParentheses": "alignToParenthesis",
    "C_Cpp.vcFormat.space.pointerReferenceAlignment": "center",
    "C_Cpp.doxygen.generateOnType": false,
    "C_Cpp.default.defines": [
        "__TMS320C28XX__"
    ],
    "C_Cpp.copilotHover": "disabled",
    "C_Cpp.default.compilerPath": "C:\\mingw64\\bin\\gcc.exe",
    "C_Cpp.default.enableConfigurationSquiggles": false,
    "C_Cpp.codeAnalysis.clangTidy.codeAction.showDocumentation": false,

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions