Stata’s Do-file Editor for Windows has been completely rewritten, making
programming tasks simpler than ever.
Among the new features are
- Syntax highlighting. Having command names, variables names,
macro names, strings, operators, and other program elements in
different colors allows you to spot syntax errors and bugs.
- Code folding. Collapse code within
if/else, and other blocks of code.
Focus on the code you are currently writing or debugging and
hide everything else. In the Do-file Editor here, we know the
code in the two if blocks is good, so we have the code
folded—indicated by the plus signs inside the square boxes.
Clicking on those boxes expands the code, showing the hidden
- Line bookmarks. Attach a bookmark to a line of code, and then
quickly access that line later by using its bookmark.
- No file-size limits. Use the Do-file Editor to examine large
text files before importing them as datasets into Stata.
For a complete list of new features in the Stata GUI,
Back to highlights