Skip to content

suggestion regarding comments #251682

Open
Open
@poonampawar377

Description

@poonampawar377

I hope this message finds you well. I would like to suggest a feature enhancement for Visual Studio Code that I believe would improve productivity and streamline the coding experience.

Feature Request:
A dedicated command or shortcut to delete all comments (both single-line // and multi-line /* */) in the active code file with a single click or keyboard shortcut.

Use Case:
During debugging, refactoring, or preparing code for production, developers often need to remove all comments. Currently, this must be done manually or through complex regular expressions. A built-in command would greatly simplify this process and save time.

Suggested Implementation:

A command like Delete All Comments in the Command Palette.

Optional keyboard shortcut (e.g., Ctrl+Alt+Shift+C) that users can customize.

Should work across all languages supported by VS Code.

Thank you for continually improving VS Code and for considering community feedback.

Warm regards,
Poonam Pawar

Metadata

Metadata

Assignees

No one assigned

    Labels

    editor-commandsEditor text manipulation commandsfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions