Syntax coloring, etc.
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.
Year of publication: |
2007-10-31
|
---|---|
Authors: | Lowy, Elliott |
Institutions: | Stata User Group |
Saved in:
freely available
Saved in favorites
Similar items by person
-
Lowy, Elliott, (2007)
-
Lowy, Elliott, (2008)
-
Lowy, Elliott, (2008)
- More ...