I just installed sublime text and start playing with it, using python code. I dabbled with the Python.sublime.build
file that contains the commands to run code.
I wanted to use "shell_cmd": "python -i \"$file\""
so that once the script has run, the shell drops into an interactive session that allows me to inspect variables.
However if I do that, I can see the >>>
typical of an interactive session and type after it, but the enter
command doesn't work. I tried shift enter
, or ctrl enter
but similarly it is simply adding a line break, instead of of processing what I have typed on the line.
Anyone knows how I could make the interactive python shell work with sublime3?