ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Top​Coder Helper

by gsingh93 ST3

A Sublime Text 3 plugin that helps you write TopCoder problems

Details

  • 1.1.2
  • github.​com
  • github.​com
  • 11 years ago
  • 31 minutes ago
  • 11 years ago

Installs

  • Total 667
  • Win 407
  • Mac 128
  • Linux 132
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

TopCoder Helper

This is a Sublime Text 3 plugin for solving TopCoder problems in Java. Other languages may be supported in the future, and pull requests will be accepted.

Installation

This plugin can be installed through Package Control (only available on ST3).

Alternatively, you can clone the repository into your Packages directory.

Usage

Copy and paste the entire problem description into the editor. Hit ctrl + p to generate the code template, or find the “TopCoder: Parse” command in the command palette.

Features

[+] Convert a problem statement into a Java class
[+] Customize Java class snippet
[-] Autogenerate supplied test case
[+] Customize coding view (Single pane, two pane, etc.)
[-] Prepare code for submission by removing test cases and optionally comments

Possible future features:

[-] Browse and generate classes for questions on the Problem Archive
[-] Autogenerate random test cases using variable constraints
[-] C++ support
[-] C# support

[+] = Completed
[*] = In progress
[-] = Not started

Customization

To customize the Java template, open the command palette and find the “TopCoder: Edit Java Template” command in the command palette. This will open a file called java.template.

There are currently three variables whose purpose should be self-explanatory: $className, $functionName, and $functionHeader.

You have two options when it comes to where the template is generated. If the option use_two_column_layout is set to true, then the template is generated in a new group. If this option is set to false, the template is generated in same file as the problem statement, and the problem statement is commented out.

License

MIT License, you can see the license here.