VS Code Extensions
S

Stata LSP

by stata-lsp

Write, understand, and run StataNow 19.5 in VS Code.

Downloads

11

Rating

— (0)

Version

0.1.0

Last updated

Jul 22, 2026

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.

Related extensions