Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Competitive Programming TemplatesNew to Visual Studio Code? Get it now.
Competitive Programming Templates

Competitive Programming Templates

Kinnito

|
20 installs
| (0) | Free
Template manager for competitive programming with cloud sync via Supabase
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Competitive Programming Templates

A powerful VS Code extension that helps competitive programmers manage and use code templates efficiently through snippets and commands.

🚀 Features

1. Snippet-based Template Usage

  • Start typing template names to get suggestions
  • Available snippets:
    • uf - UnionFind data structure
    • bs - Binary Search implementation
    • bm - Bitmasking template
    • And more!

2. Right-Click Template Creation

  • Select any code in your editor
  • Right-click and choose "Create CP Template from Selection"
  • Name your template
  • Instantly available as a snippet!

3. File-based Template Import

  • Import existing template files
  • Supports multiple languages (C++, Python, Java)
  • Templates are stored globally

📥 Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "Competitive Programming Templates"
  4. Click Install

🎯 Quick Start

Using Snippets

  1. Open a .cpp or .py file
  2. Type one of these triggers:
    • uf for UnionFind
    • bs for Binary Search
    • bm for Bitmasking
  3. Press Tab to insert the template

Creating New Templates

Method 1: From Selection

  1. Select code in editor
  2. Right-click
  3. Choose "Create CP Template from Selection"
  4. Enter template name

Method 2: From File

  1. Press Ctrl+Shift+P
  2. Type "CP: Create New Template"
  3. Select your template file
  4. Enter template name

🔧 Requirements

  • Visual Studio Code ^1.96.0

🤝 Contributing

See our Contributing Guide for details.

📝 License

MIT License - see LICENSE

🆘 Support

Found a bug? Have a feature request? Open an issue

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