Rudresh's blog

By Rudresh, 5 days ago, In English

CodeForces is an awesome platform for competitive programming, when I started practicing on CodeForces, the only thing I felt missing was the inbuild IDE for solving problems.

I thought It'd be a fun project to do, so during this vacation, I developed a VS code extension named Catalyst for that.

Catalyst 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 real-time. All this in Vs code.

Visual Studio Marketplace link — https://marketplace.visualstudio.com/items?itemName=RudreshVeerkhare.catalyst
If you have any suggestions or issues regarding Catalyst please let me know

Here's a little demo of it — https://raw.githubusercontent.com/RudreshVeerkhare/Catalyst/main/readme/CatalystQuickStart.mp4

 
 
 
 
  • Vote: I like it
  • +82
  • Vote: I do not like it

»
5 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Thanks a lot Rudresh for this awesome extension. Looking forward to using it with VSCode.

  • »
    »
    5 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    You are Welcome sandipan_2224.. :)
    Please let me know in case of any issues..

»
5 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Will give it a try and provide u with feedback for sure.

»
5 days ago, # |
  Vote: I like it 0 Vote: I do not like it

I am not able to compile my code using java. It says no public class in code and when I make class public the ide gives error. Help.

  • »
    »
    5 days ago, # ^ |
    Rev. 3   Vote: I like it 0 Vote: I do not like it

    Can you give some details on error...

    Note — You don't need to give public class name same as filename if you are using catalyst

»
5 days ago, # |
  Vote: I like it 0 Vote: I do not like it

will it work on other sites like Atcoder . codechef??

  • »
    »
    5 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    It's specially designed for codeforces only..

»
5 days ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Cant we set a hot key for submission

»
5 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Wow. I have watched the video and this is really cool. Well done. Can this be used in live contests and if so, does it parse entire problem sets? Instead of parsing per problem.

  • »
    »
    5 days ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Thanks... :)
    Yes this can be used in live contests..
    But fetching all problems at once is not possible currently.. Actually I'm working on it...

    Update — I just added the feature to fetch Entire contest in version 0.0.7
    now you can either put Contest URL or Problem URL and Catalyst will automatically fetch all problem if it's a Contest url..
    Please let me know if you fetch any issues while using this feature..
    Thanks..

    • »
      »
      »
      5 days ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I see. This is still great, at least while the other features are in progress. Cheers.

»
4 days ago, # |
  Vote: I like it -27 Vote: I do not like it

no offense but this seems useless

  • »
    »
    4 days ago, # ^ |
      Vote: I like it +21 Vote: I do not like it

    I'm really sorry that you don't like it.. :(

»
4 days ago, # |
Rev. 4   Vote: I like it 0 Vote: I do not like it

can you use https://github.com/jmerle/competitive-companion for parsing, i have the chrome extension of it, which parses question by just click of a button and saves the task of copy pasting the urls.

also add the support of mirror website codeforces.ml

Also c++ submission within vscode does not show option for g++ 17 9.2.0 64 bit msys 2 which i mostly use.

  • »
    »
    4 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I could've used competitive-companion for parsing but I wanted problem text data also... And thanks for this suggestions.. I'll try to add support to mirror site also...

    and I just added the option g++ 17 9.2.0 64 bit msys 2 for submition...

    • »
      »
      »
      4 days ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      So, can you make your own chrome extension, which parses problem statement too? Or can you just tweak the existing open source competitive-companion extension to do this?

      • »
        »
        »
        »
        4 days ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        As of now I don't know how to make crome extension.. But I'll surely try this...

»
4 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Can we somehow switch the codeforces ID from which we make submission??

  • »
    »
    3 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Yes..you can change handle by using command "Update Login Details"...
    to execute the command press Ctrl+Shift+P and enter Update Login Details..

»
3 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Amazing work Rudresh! Hats off.

»
3 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Your extension is asking for a password for my account. How safe it is ?? plz explain!!

  • »
    »
    3 days ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Firstly, Catalyst uses AES-256-CBC for encryption of Login Credentials..
    then these Encrypted Credentials are stored in the system's keychain...
    On macOS the encrypted 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...
    And keys for encryption are updated every time Credentials are updated..
    Hope this will help..