Блог пользователя sathiya

Автор sathiya, 12 месяцев назад, По-английски

I've been working on a VS Code extension that brings together Codeforces, CSES, and popular CP sheets directly into VsCode. Inspired by the LeetCode VS Code extension and Competitive Programming Helper (CPH), I've integrated their functionalities and added some unique features to enhance your CP experience.

Features:

  • Codeforces Integration: Browse problems by rating, tags, or contests. View upcoming contests too.
  • Sort problems: You can sort problems by solved count or contest order
  • CSES Problem Set: Access the entire CSES problem set within VS Code.
  • CP Sheets: Includes CP-31 and A2OJ ladders for structured practice.
  • Color-Coded Problems: Problems are color-coded based on their rating, similar to Codeforces user profiles.
  • In-Editor Problem Descriptions: View problem statements, input/output specs, sample test cases, tags directly in VS Code.
  • Integrated Testing and Submission: Built-in testing and submission functionalities using code copied from CPH extension(thanks to d-agrawal (no need to install CPH separately)
  • Solution Links: In the problem view, you'll see solution links from a few selected Codeforces handles—only if they've solved the problem. You can customize which handles you want to see solutions from.
  • Favorite Problems: You can mark any problem as a favorite, and it'll be saved under a dedicated "Favorites" folder for quick access later.
  • Pick random problem: You can pick a random problem — either completely random or filtered by a chosen rating.
  • Browser Extension for Submissions: Install "CPH Submit Pro" from the Chrome Web Store or Firefox Add-ons to submit problems to codeforces and CSES, and sync CSES problem statuses.

Preview

Setup:

  • Install the Codeforces Pro extension from the Visual Studio Marketplace.
  • Install the CPH Submit Pro(chrome or firefox) browser extension.

Give it a try and let me know what you think. Feedback and suggestions are welcome!

Note: Due to the recent mandatory v3 manifest in Chrome, the Chrome extension submit feature sometimes works improperly. Firefox works without any issues. Please use Firefox temporarily, and I’ve made the fix and published it. It’s currently under review. Once it passes the review, you can use the Chrome extension.

Update: New version for chrome extension published, and should work without any issue

Полный текст и комментарии »

  • Проголосовать: нравится
  • +132
  • Проголосовать: не нравится