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

Smoj​Submit

by YanWQ-monad ALL

A sublime plugin to submit code to OJs

Details

Installs

  • Total 64
  • Win 54
  • Mac 6
  • Linux 4
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 0 0 0 1 0 0 0 0 0 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
Mac 0 0 0 0 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
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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

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