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 47K
  • Win 31K
  • Mac 8K
  • Linux 8K
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 Feb 15 Feb 14
Windows 4 12 5 11 14 9 9 11 13 11 10 11 23 7 17 14 20 8 13 20 12 11 25 18 19 12 13 16 19 23 16 17 11 16 17 14 9 19 12 20 10 10 6 18 10 7
Mac 0 4 2 4 3 1 4 0 7 4 4 6 1 5 2 6 1 1 3 4 7 3 1 8 2 5 9 3 8 4 5 4 1 1 9 4 4 12 5 1 4 6 1 4 1 0
Linux 2 5 2 1 1 4 4 4 2 3 4 3 4 1 1 2 7 1 2 3 2 2 5 0 3 0 1 3 4 1 2 3 3 4 5 1 4 4 3 2 1 3 1 3 3 4

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)