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

Smoj​Submit

by YanWQ-monad ST2/ST3 New

A sublime plugin to submit code to OJs

Details

Installs

  • Total 31
  • Win 29
  • OS X 0
  • Linux 2
Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 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
Windows 0 0 0 0 0 0 0 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
OS X 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

SmojSubmit

Package Control GitHub

SmojSubmit is a Sublime Text plugin, which can submit your code to Online Judge by one click, and pull the result automatically.

English | 简体中文


Introduction gif

Install

Install SmojSubmit from Package Control.

Here are the detailed steps:

  1. Press Ctrl+Shift+P, and select Package Control: Install Package;
  2. Enter SmojSubmit and install.

Configure

Select PreferencesPackage SettingsSMOJ SubmitEdit Settings, then enter your passwords to the configuration.

Note: init_login option is to toggle whether or not log in to the Online Judge when Sublime Text starts, keep the default if you don't have special needs.

A configuration example

{
    "oj": {
        "bzoj": {
            "username": "Monad",
            "password": "******",
            "init_login": false
        },
        "luogu": {
            "username": "Monad",
            "password": "******",
            "init_login": false
        },
        "codeforces": {
            "username": "YanWQmonad",
            "password": "******",
            "init_login": false
        }
    }
}

Usage

Right click on the Sublime Text editing area, select the target Online Judge in Submit to....
The Submit button is to submit to the latest submitted Online Judge.

Contributing & Bugs report

Due to the use of unofficial API, there may be some bugs in the plugin. If you have an issue, please report it in the Issue Tracker. Of course, features request is also accepted.

And welcome PR.

License

MIT