- Install via Package Control
- Install manually:
download plugin into packages (preferences — browse packages
)
Warning! rename plugin folder to FastOlympicCoding
- 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
- to edit settings
- press cmd+shift+p (OSX) ctrl+shift+p (Linux + Win) and type
Open Settings
- or
tools — FastOlympicCoding — settings
- press cmd+shift+p (OSX) ctrl+shift+p (Linux + Win) and type
- to stress you need to implement 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 random in input
- to edit completions open settings
- to edit lint open settings
- debugger only for OSX
- ctrl+shift+b to run with debugger
- hover cursor on variable to see its value
- also you can select frame (type
FastOlympicCoding: Select Frame
on command pallete) - the only one dependency is the xcode (you can install it with
xcode-select --install
)