RudreshVeerkhare / Catalyst

A VS code Extension to accelerate the process of solving problems on Codeforces.
GNU General Public License v3.0
77 stars 14 forks source link
codeforces competitive-coding competitive-programming hacktoberfest javascript reactjs vscode-extension webscraping

Catalyst

Version Rating Downloads Installs

Catalyst is a VS code Extension to accelerate the process of solving problems on Codeforces. It automatically fetches the problem and displays it, parses test cases, runs and evaluates your code on test cases. You can edit/add/remove test cases as you like, and when you are done, it can submit your code and then track the submission in realtime.

Quick Start

quickStartGif

  1. Open any folder in VS code.
  2. Press  Ctrl + Alt + P  or use command Add Problem/Contest from command palette.
  3. Enter problem/contest URL from Codeforces and then select a language

After this VS code layout will split into 2 columns, in the left column there will be source code and in the right column, the problem will be displayed with preloaded test cases. In which you can run, evaluate, and submit your code.

Shortcuts

Ctrl + Alt + P -  Add new Problem/Contest
Ctrl + Enter -  Run all test cases for selected problem
Ctrl + Alt + H -  Hide/Show problem panel

Features

Requirements

Encrypted Credentials are stored in the system's keychain. On macOS the passwords are managed by the Keychain, on Linux they are managed by the Secret Service API/libsecret, and on Windows they are managed by Credential Vault.
For Linux depending on your distribution, you will need to run the following command :

Note