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

Cpp​Fast​Olympic​Coding

by Jatana ST3

Tools for competitive programming for Sublime Text 3 & 4

Details

Installs

  • Total 40K
  • Win 27K
  • Mac 6K
  • Linux 7K
May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 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
Windows 19 21 14 32 41 28 34 22 18 19 33 34 26 28 27 15 38 27 24 22 16 11 22 35 11 13 20 16 19 19 19 9 10 21 24 20 21 12 19 31 26 24 11 15 19 20
Mac 2 4 11 2 12 4 8 2 7 8 7 3 7 3 2 2 5 4 7 7 6 7 8 2 2 4 7 4 3 5 3 3 2 6 7 4 9 3 1 4 3 6 3 2 3 6
Linux 0 1 6 2 7 1 1 6 8 5 3 7 5 5 2 6 8 4 4 3 4 4 4 7 4 2 3 2 2 2 1 3 1 5 3 3 1 4 2 1 2 0 3 4 3 2

Readme

Source
raw.​githubusercontent.​com

Fast Olympic Coding plugin for Sublime Text 3 & 4

Installation

  • Install via Package Control
  • Install manually:
    download plugin into packages (Preferences — Browse packages...)
    Warning! rename plugin folder to FastOlympicCoding

TestManager

TestManager

TestManager Keybindings

  • ctrl+b (OSX) ctrl+alt+b (Linux + Win) compile and run
  • ctrl+enter new test
  • ctrl+c (OSX) ctrl+x (Linux + Win) kill process
  • ctrl+shift+b (OSX) run with debugger
  • ctrl+d delete test
  • ctrl+super+up/ctrl+super+down (OSX) ctrl+shift+up/ctrl+shift+down (Linux + Win) swap tests
  • cmd+k, cmd+p (OSX) ctrl+k, ctrl+p (Linux + Win) close/open right panel

Settings

  • To edit settings
    • press cmd+shift+p (OSX) ctrl+shift+p (Linux + Win) and type FastOlympicCoding: Open Settings
    • or Preferences — Package Settings — FastOlympicCoding

StressTesting

StressTesting

  • To stress test a solution, you need to implement the three following files:
    • <name>.cpp - program that works incorrect
    • <name>__Good.cpp - program that works correct
    • <name>__Generator.cpp - program that generates tests, you can read a seed for a random generator in the input
  • Type FastOlympicCoding: Make Stress in the command palette to run and FastOlympicCoding: Stop Stress to stop stress testing

ClassCompletion

ClassCompletion

  • Type aliases to substitute them with data types
  • Customize aliases in the settings file

CppLint

CppLint

  • Error highlighting works in real-time
  • Specify custom compile command in the settings file

Debugger

Debugger

  • debugger only for OSX
  • ctrl+shift+b to run with debugger
  • point the cursor on a variable to see its value
  • to select a stack frame (type FastOlympicCoding: Select Frame in the command palette)
  • the only one dependency is xcode (you can install it with xcode-select --install)