Skip to content

harningle/StataEditor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stata Editor for Sublime Text 3/4

Original work by Mattias Nordin and Sergio Correia.

Features

This package enables us to run Stata code from Sublime Text 3/4, with the following features:

  • Syntax highlighting
  • Code snippets for frequently used commands
  • "GoTo Symbol" to navigate through the do files
  • And ALL the features coming with Sublime Text and other packages!
  • (, which includes Copilot 🤣)

Installation and Setup

This package only works on Windows machines. To install:

  1. Install Sublime Text 3 or 4
  2. Install Package Control
  3. Add this repository to Package Control
  4. Install StataEditor via Package Control
  5. Install pywin32, also via Package Control
  6. Change the Stata installation path in user settings

If you are new to Sublime Text, we have a video guide here.

Acknowledgments

The package was originally developed by Mattias Nordin and Sergio Correia. Thanks to Adrian Adermon and Daniel Forchheimer for helpful suggestions.

Alternatives

🍏 The package only works in Windows. For macOS, try Stata Enhanced or Stata Improved

:atom: Atom + Hydrogen + stata_kernel is amazing, though GitHub has sunset Atom in late 2022

📓 If you are a fan of Jupyter Notebook, stata_kernel works extremely well

📝 There are also plugins for vim (vim-stata) and Emacs (ado-mode)