CP Editor
CP Editor is a Qt-based, lightweight, and cross-platform IDE specifically engineered for competitive programming. Built using native C++ with the Qt framework, it delivers exceptional performance while maintaining a simple yet powerful interface designed by competitive programmers for competitive programmers.
Key Features:
• One-Click Compilation & Execution - Compile and run code with a single keystroke against multiple test cases
• Automatic Test Case Fetching - Parse problems from 100+ online judges via Competitive Companion integration
• Intelligent Judging - Instant feedback with AC/WA/TLE/RE verdicts for each test case
• Advanced Syntax Highlighting - Powered by KSyntaxHighlighting (same as Kate editor) with code folding
• Unlimited Code Snippets - Create customizable snippets for C++, Java, and Python with quick Ctrl+T insertion
• Real-time Linting - Error/warning squiggles via Language Server Protocol integration
• Code Formatting - Clang Format for C++/Java, YAPF for Python
• Codeforces Integration - Direct submission via CF Tool with instant verdict feedback
• Five Color Themes - Light, Dracula, Monokai, Solarized Light, and Solarized Dark
• Three View Modes - Editor Mode, IO Mode, and Split Mode for flexible workspace
The IDE follows a streamlined "fetch, code, compile, run, check, submit" workflow. Hot exit enables running code without saving, while session restoration ensures your work is never lost. With support for C++, Java, and Python, customizable compilation commands, and extensive keyboard shortcuts, CP Editor has become a premier choice for competitive programmers.
Available on Linux (AppImage, Snap, AUR), Windows (installer and portable), and macOS.