Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ProblemMetaNew to Visual Studio Code? Get it now.
ProblemMeta

ProblemMeta

Rayed Riasat Rabbi

|
18 installs
| (0) | Free
Automatically add problem url, name, and contest name as comments at the top of the cpp file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Competitive Programming Header Automation

Description

This Visual Studio Code extension automates the process of adding standardized headers to your C++ source files. Designed for competitive programmers, it integrates seamlessly with the CPH extension and Competitive Companion extension.

Features

  • Add Headers to All .cpp Files: Press Ctrl+Alt+L to add headers to all .cpp files in the current folder.
  • Add Headers to Recent .cpp Files: Press Ctrl+Alt+P to add headers only to the most recently modified .cpp files in the current folder.

Prerequisites

To use this extension, ensure that you have the following extensions installed:

  • CPH
  • Competitive Companion

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar or pressing Ctrl+Shift+X.
  3. Click on the three dots (ellipsis) in the top-right corner of the Extensions panel.
  4. Select "Install from VSIX..."
  5. Browse to the location of the .vsix file and install it.

Usage

  • Press Ctrl+Alt+L to add headers to all .cpp files in the current folder.
  • Press Ctrl+Alt+P to add headers to the most recent .cpp files.

Known Issues

  • This extension only works with .cpp files.
  • Ensure the correct extensions (CPH and Competitive Companion) are installed for full functionality.

License

This project is licensed under the MIT License.

Author

Github: rayedriasat

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft