Readme

What it is and how it works

This plugin is designed to optimize an interactive programmin workflow, in which you are working in the editor and a console window.
There you are editing some programm in the editor, and then run it from the console.
Or you are developing in a TDD fashion, so you run some tests from the console.
Or you try out some

Usage

repl Commands

cs-ENTER Sending selected text (or current line) and to the repl
c-up Sending up arrow and Enter to the repl. This hopefully executes your last command. last repl command (doesn't work in pry on windows)

Editor Commands

Those Commands runs or loads the current file or executes test in the language of its syntax.
It is possible to execute only the selected test.
There is a convention for naming of testfiles. This makes it possible to switch between implementation and tests.
The commands are run from the root of the sublime folder, so your project directory needs to be in the sublime side bar.

Miscellaneous Commands

This is a grabbag for some stuff that i found useful at a time.
cs-1 open explorer
cs-2 dublicate file (This is quite useful)
cs-3 open file on selected editor line (http:// in chrome or with sublime )
f1 show shortkeys
cs-4 restructure mdTOC

Troubleshooting

Silent Failure

Check if console is in your path

Open the sublime console c-

import os
os.environ['PATH'] = "/usr/local/bin:" + os.environ['PATH']

Check if tmux or ConEmuC is on your path. If not consider starting sublime from the console using the subl command.