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

Cpp​Fast​Olympic​Coding

by Jatana ST3 Trending

Tools for competitive programming for Sublime Text 3 & 4

Details

Installs

  • Total 43K
  • Win 29K
  • Mac 7K
  • Linux 7K
Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1
Windows 20 43 32 20 20 15 26 21 31 25 29 25 22 18 14 21 21 9 15 19 16 21 15 10 23 19 36 20 22 28 23 29 24 25 18 27 18 26 17 36 14 19 25 18 21 23
Mac 7 3 8 3 7 1 3 5 3 4 3 9 5 6 3 7 8 7 4 0 6 5 11 11 4 6 4 10 6 4 7 10 7 6 8 12 4 12 5 11 5 11 7 5 6 6
Linux 3 8 5 6 0 4 7 7 4 3 7 5 6 0 3 3 2 6 9 2 2 8 4 1 12 1 3 10 5 3 3 6 4 4 4 4 3 5 5 1 4 2 4 4 7 6

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)