GetCode Codechef/Codeforces/SPOJ plugin for Sublime Text 3

GetCode

This is an ST3 plugin which:

  1. Take the URL of a problem such as https://www.codechef.com/problems/INVLIS.
  2. Parse the URL and get the problem code(In this case it is INVLIS).
  3. Create a new .cpp or .py file with a pre-determined template(cpp.snippets which is customized via settings).

Keyboard shortcuts

For all Operating Systems, ctrl+alt+x opens a new dialogue box which takes the problem url as user input

How to install

  1. Install Package Control from here
  2. In Sublime, Open Package Control

Open Package Control from the Preferences Menu

  1. Select Package Control: Install Packages

enter image description here

  1. Now you should be able to search for and install the GetCode Package.

How to use it

After installing, it is necessary to configure the settings(setting the default directory and snippets).

After configuring the settings, ctrl+alt+x opens a new dialogue box which takes the problem url as user input

Supported websites(for now)

  1. Codechef
  2. Codeforces
  3. SPOJ
  4. Virtual Judge
3 Likes

I installed the package but I can’t find it in the install packages option.

Yes I did , it said “successfully added”.

Cool…

I am on MacOS if it makes any difference.

@krishyadav007 Please upvote me if you liked it.

Yes but I cannot find your package there.o

@shashwatchandr I am really sorry the link of repository is https://github.com/Salil03/GetCode not https://github.com/Salil03/GetCode/releases. I have fixed it in the post. It should work now

@shashwatchandr Did it work after the correct link? I am curious

@shashwatchandr please reply

not working

Yes it did start working after you updated the link.
Thanks :slight_smile:

@abc_1998 Can you please tell me what issues you are facing

@pieliedie any feedback?

What to do after installing the GetCode package?

What does “After installing, it is necessary to configure the settings(setting the default directory and snippets).” mean ?

ctrl+alt+x command isn’t working…There is no dialogue box showing up. Please help!

The same for me: I installed the package but I can’t find it in the install packages option. ITs the repository ok?

Many Thanks!

Manu L. S. Tatuajes