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

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Fast Olympic Coding plugin for Sublime Text 3

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)