Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Do file editor in Stata 12 for Mac

From   Phil Schumm <>
To   <>
Subject   Re: st: Do file editor in Stata 12 for Mac
Date   Tue, 18 Jun 2013 09:38:50 -0500

On Jun 18, 2013, at 8:58 AM, Tunga Kantarcı <> wrote:
> I have a do file with many lines of code. In Stata 12 Windows version, in my do file, I used to divide the code into sections and fold each section between two curly brackets so that the folded part of the code is hidden in the do file which tidies up the code. But I recently moved to Mac and now using Mac Stata 12 version. The do file editor now does not facilitate the use of curly brackets to fold lines of code. I wonder why and if there is a way I can achieve this.

Many text editors support code folding.  For example, TextMate does (, and lets you execute entire do-files or selections/lines in Stata, just like Stata's built-in do-file editor.

-- Phil

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index