

Requirements for Linux are xdotool and xclip as in the Atom version Windows Settings derived from stata-exec, which provide the same features for Atom.


ado) and commands from within Visual Studio Code editor. Entry of these commands via shortcuts would still be recorded in the command log, so from a workflow perspective I can’t understand why this hasn’t been implemented in a mature program which many people use.StataRun allow you to run stata codes (.do.

Ideally, shortcut commands would be displayed when hovering a cursor over a menu command or displayed next to the command. You can get quite fancy with this it seems, so if interested read more in the pdf file “Programming Stata”: Ĭoming from a background of using design software where shortcut usage is common, I find it surprising a command heavy program such as Stata doesn’t make keyboard shortcut information more readily accessible. This is a special form of global macro – see below.Įntering a command sequence of global “ “ saves a sequence of words which you can later recall by prefix-ing the macro with $, that is $. Tab: completes a variable’s name in the command line sequence, as far as ambiguity allows (if there are similarly named variables)Ĭtrl+Tab: reverse cycles through the various panesĬtrl+Shift+Tab: forward cycles through the various panesĬtrl + 4: variable pane (also: pressing space bar whilst a variable is selected in the variable pane inserts this variable into the command line sequence)į3: opens up a ‘find’ tab in the output pane to search for specific textį7: inserts the command ‘save’ into the command sequenceį8: inserts the command ‘use’ into the command sequenceĪlt+F4: quits the program (I think this maybe a general windows command)Įntering a command sequence of global F “ commands“ assigns a function key to a command sequence such as “list ” (leave out the square brackets), with the semi-colon indicating entry of a command. I have formed this list from various Stata help files as well as my own trial and error: Here is a consolidated list of keyboard shortcut commands for Stata, as well as some directions on how to form custom macro strings.
