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

Competitive Programming Lite

by jameelkaisar ST4

A simple, easy-to-use Sublime Text plugin to assist in Competitive Programming.

Details

Installs

  • Total 491
  • Win 323
  • Mac 83
  • Linux 85
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 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16
Windows 0 0 1 0 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1
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 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Linux 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Competitive Programming Lite

A simple, easy-to-use Sublime Text plugin to assist in Competitive Programming.

Available Commands

  • CP New Create a file
  • CP Set Create a set of files
  • CP Open Open a file
  • CP End Exit CP mode
  • CP Add Add a template
  • CP Edit Edit a template
  • CP Delete Delete a template
  • CP Key Bindings Set key bindings
  • CP Help Open help page

Platforms Supported

  • Linux
  • Mac
  • Windows

Languages Supported

  • C
  • C++
  • Java
  • Python

Help

Creating a file

https://user-images.githubusercontent.com/65322473/153869959-5746398b-6394-4c5b-974f-0772afa8eac4.mp4

Creating a set of files

https://user-images.githubusercontent.com/65322473/153870013-5c13a0cd-4da4-444c-8e40-139c28d6ff3d.mp4

Opening a file

https://user-images.githubusercontent.com/65322473/153870135-76cf5226-ec07-49d6-9899-e6b844679ba4.mp4

Exiting CP mode

https://user-images.githubusercontent.com/65322473/153870272-766a07aa-eb86-449b-ba8c-4a621136b2bc.mp4

Testing code in terminal

https://user-images.githubusercontent.com/65322473/153870339-59457ec5-7107-4483-b14c-63d11ecfd96e.mp4

Running code in terminal

https://user-images.githubusercontent.com/65322473/153870371-cdef4646-a3fc-4957-b696-6b101d2bb0ba.mp4

Adding a template

https://user-images.githubusercontent.com/65322473/153870427-3ca6b363-5557-4a88-8fbc-2e7d7d5c53fe.mp4

Editing a template

https://user-images.githubusercontent.com/65322473/153870475-9b68e2d5-f2b1-4a04-b021-31e87817c2f0.mp4

Deleting a template

https://user-images.githubusercontent.com/65322473/153870527-6d9d3a3e-6967-4b05-a1cb-51633946b428.mp4

Key bindings

These are the recommended key bindings. However you can set your own key bindings as well. To set key bindings, run CP Key Bindings command or goto Tools -> CP Lite -> Settings -> Key Bindings - Linux - Alt + Shift + N Create a new file - Alt + Shift + S Create a set of files - Alt + Shift + O Open a file - Alt + Shift + E Exit CP mode - Mac - Option + Shift + N Create a new file - Option + Shift + S Create a set of files - Option + Shift + O Open a file - Option + Shift + E Exit CP mode - Windows - Alt + Shift + N Create a new file - Alt + Shift + S Create a set of files - Alt + Shift + O Open a file - Alt + Shift + E Exit CP mode

Future ideas

  • [ ] Remove dependency on ONLINE_JUDGE. Define CPL_JUDGE locally.
  • [ ] Move reading from file and writting to file part from template to Build System
  • [ ] Add Default Command to set default Language and Template so that user does not have to select Language and Template everytime.
  • [ ] Add Contest Command for creating template files and scraping input and expected output for all questions in a contest
  • [ ] Add Contest Command support for CodeForces

Changelogs

  • Jan 21, 2022 Version 1.0.0 Released
  • Feb 14, 2022 Version 1.1.0 Released
  • Jun 07, 2022 Version 1.2.0 Released