- F9 - run selected line
- F10 - run the whole file
I in addittion I have also created a macro that selects the current line, which is assigned to Ctrl + Shift + Enter. I usually run the commands in the following variants:
Running Current Line
1.1. Press Ctrl + Shift + Enter in order to select the current line.
1.2. Press F9 to send the current line to Stata
Running Current File
2.1 Press Ctrl + S to save file
2.2 Press F10 to send the whole file to Stata
Ideally, I would like to streamline that process. The ideal outcome would correspond to the following result:
- Shortcut Ctrl + Shift + Enter selects whole line and sends it to Stata
- Key F10 saves the current file and sends it to Stata
Ideally I would like to edit the existing macro files so I can the Stata run commands to them.