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 42K
  • Win 28K
  • Mac 7K
  • Linux 7K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 1 33 16 31 21 18 26 30 31 22 31 32 28 19 33 27 32 17 21 27 14 29 16 19 15 17 15 12 22 16 24 14 26 23 24 26 18 20 16 19 13 18 19 18 12 21
Mac 0 11 8 11 7 8 7 6 9 11 5 5 4 6 2 12 6 2 7 5 5 8 4 9 10 3 6 3 4 6 7 9 4 10 2 4 1 4 0 1 5 5 7 6 6 5
Linux 0 2 6 3 5 7 4 5 2 2 5 2 4 9 10 6 4 7 3 6 1 1 2 4 3 5 4 7 4 3 4 4 5 5 5 11 6 6 3 2 4 5 3 3 5 3

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)