Stata LSP provides editing and runtime support for StataNow 19.5 in VS Code.
The extension automatically selects the highest installed Stata version. Open a
.do, .ado, or .mata file to start static language support. In a trusted
workspace, use Shift+Enter to run the current selection or statement.
This release targets StataNow 19.5 only.
Main commands
Shift+Enter: run the selection or current statement.
Command+Shift+Enter: run the current do-file.
Command+Option+Enter: run from the start through the cursor line.
Stata: Stop Stata: cancel the current run.
Stata: Restart Stata Session: reset the persistent session.
Results, variables, graphs, and recent runs appear in the Stata views. Execution is
enabled only in trusted workspaces. Source code and datasets stay on the local machine.