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 INVLIS Problem - CodeChef.
  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
4 Likes

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

not working

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

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 GitHub - Salil03/GetCode: Competitive Programming problem parser for Sublime Text 3 not Releases · Salil03/GetCode · GitHub. 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

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?

Hi.
I have installed using package control.
And set the default directory (absolute path) and restarted ST4 as well.
But after filling the dialogue box and pressing enter nothing is showing/happening.
And no new files hasnt created in the directory i have specified.
Can you help me please?