do2screen
Review any section of your Stata do-file, right in the console.
do2screen v5.0
Review any section of your Stata do-file — directly in the console
Ever lost track of how a variable was built across a thousand-line script?
do2screen puts all the relevant code in one place, instantly.
github install randrescastaneda/do2screenWhat do2screen does
🔍 Variable Tracing
Trace exactly how a variable was created and modified — including all parent variables. No more scrolling through thousands of lines.
do2screen using "analysis.do", ///
var(pchincome)🔎 String Search
Find every occurrence of a word or phrase in your do-file, with configurable lines of context around each match.
do2screen using "analysis.do", ///
find("poverty line") lines(10)📄 Line Range
Display any block of lines from your do-file — by start/end line numbers or by start + count.
do2screen using "analysis.do", ///
range(253 263)Quick install
First install the github package by E. F. Haghish, then install do2screen:
net install github, from("https://haghish.github.io/github/")
github install randrescastaneda/do2screennet install do2screen, ///
from("https://raw.githubusercontent.com/randrescastaneda/do2screen/master/") ///
replace
TipRequires Stata 16.1 or higher
do2screen v5.0 uses Stata frames for internal data handling.