SendCode
SendCode copied to clipboard
Custom w/out auto advance shortcuts
Hi @randy3k, this is not an issue but question about a feature, is it possible to customize e.g. Cmd + Enter to send and advance, Cmd + Shift + Enter to send and not advance the cursor position?
Some time back I wrote a little plugin that toggles any setting. You could keybind a multicommand where you toggle auto-advance
, send the code, toggle again. Not the cleanest but should work.
If you are interested I will test it out for you.
thanks for the suggestion @lieskjur, that sounds like a hassle though as I send code very often (to R/Python). I have completely moved from sublime text to vscode now so it no longer bugs me, not sure if I should close this or not.
Should work just like any other keybinding once set-up. I personally used it to toggle auto advance depending on the language I was working in.
I get the appeal of vscode, but as they say Sublime Text is a text editor, not an IDE. And I don't need a standalone IDE on linux :)
well, I'm off-topic but I don't know why vscode is called an IDE though, like ST I installed only addons/packages that I needed and the usage/workflow is exactly the same. For just editing text we already have vim (vim-vscode is also the appeal for me).
I personally wouldn't call it an IDE either although with enough packages you can certainly make it behave like one. The one thing I must say is that most packages push it a lot further in that direction with the reliance on the in-built terminal, document viewer, ... Isn't there the "vintage mode" in ST if you are so inclined?
@randy3k would you have any input on this issue?
It is currently not possible to do so with different keybindings. However, the cursor won't move if you highlight some text and send the selection instead.