I too use VS Code daily for programming tasks unrelated to Amibroker; it is truly versatile, and since I'm a slow typist I do not feel so much pain!
I prefer to stick to the AFL editor when writing formulas: parameter call hints and F1
on a keyword to display reference documentation are a huge help! And often I use the "Prettify selection" function (sometimes even as a debugging aid)
Anyway, FWIW, here are some common VS Code key combinations that I employ (in order of usage frequency) that I would consider for future versions of the AFL editor.
-
Ctrl+D
to execute the multi-selection to allow the multi-edit -
Alt+Up
andAlt+Down
to move a line - or a block of selected lines - up/down (on some occasions this is faster than cut/paste) -
Shift+Alt+Up
orShift+Alt+Down
to quickly copy/duplicate a line (or selected lines)
Additionally (even if I foresee infrequent usage of these in my formulas):
-
Ctrl+K+C
to "single line comment" all the selected lines andCtrl+K+U
to uncomment the selected lines - Enabling multiline editing with
Ctrl-Alt-Up
orCtrl-Alt-Down
Shortcuts nice to have but certainly not a priority!