Skip to content

jameelkaisar/Competitive-Programming-Lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

CP_New.mp4

Creating a set of files

CP_Set.mp4

Opening a file

CP_Open.mp4

Exiting CP mode

CP_End.mp4

Testing code in terminal

CP_Test.mp4

Running code in terminal

CP_Run.mp4

Adding a template

CP_Add.mp4

Editing a template

CP_Edit.mp4

Deleting a template

CP_Delete.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