I will present a sweet syntax coloring using jEdit, a free, open-source, Java-based, cross-platform text editor. The syntax coloring (demo jpeg at http://www.datadata.info/ug07/) distinguishes commands, variables, macros, simple and compound quoted strings (and unquoted string literals), and different kinds of comments. This includes macros inside of strings, strings in expressions in macro functions, etc. Mata syntax coloring inlcuded. On the integration side, added bits allow a line, selection, or separately defined section of code (as well as the whole file) to be run in Stata with a keystroke. Semi-colon delimited, and Mata, lines are recognized from context and run correctly. In addition, the code can be run in "do" "run" or "trace" modes, as determined by a mode button in jEdit. Multi-line commands (ie, split with triple-slashes) are also recognized and run as a whole without the need to select all lines.
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. In case of further problems read
the IDEAS help
page. Note that these files are not on the IDEAS
site. Please be patient as the files may be large.