How does one sent highlighted code from sublime text 2 editor to the interactive console started by going to view > show console
in sublime text 2?
If you are on Sublime Text 2 for a Mac, then press 'command' + 'B' to build. If you are on Windows, then press 'Ctrl' + 'B'.
I hope I interpreted your question correctly. If you're trying to make an interpreter on the console, you can use 'Package Control' to install SublimeREPL (https://github.com/wuub/SublimeREPL)
Edit: Showing the key control depending on what you want (e.g. just take the selection, the line, the entire file). Screenshots are on a Windows 7 PC.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With