Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: Stata Editor for Mac with Code Folding

From   Phil Schumm <>
To   <>
Subject   Re: st: Stata Editor for Mac with Code Folding
Date   Thu, 11 Apr 2013 14:46:24 -0500

On Apr 11, 2013, at 1:10 PM, June Bridge wrote:
> One question - I've noticed that TextMate doesn't seem to recognize all the different types of comments in stata - it gets comments that are enclosed in /* .. */  just fine, as well as lines that start with *, but it doesn't properly color comments that start with "//".

Please send me (privately) an example where line comments (i.e., starting with "//") don't work properly (or post it on the GitHub issue tracker).  I use line comments almost exclusively, and have not encountered a problem.

> Also, it thinks that any time there is an "*" that it's a comment, when sometimes it's just a multiplication sign (it should only be considered a comment if it's at the beginning of the line).

Again, please send me (or post on the issue tracker) an example so I can take a look.

> Is there a way to edit the Stata bundle so that it properly recognizes comments?

As described in the help, the Stata TextMate bundle is hosted on GitHub, so you can freely fork it and make whatever changes you desire.  If you believe your change should be included in the official version, please send a pull request.

-- Phil

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index