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: do-file editor: syntax highlighting for user written commands

From   Nick Cox <>
To   "" <>
Subject   Re: st: do-file editor: syntax highlighting for user written commands
Date   Thu, 4 Apr 2013 10:25:25 +0100

As far as I am aware, Stata's own do-file editor does not allow
extensions to, or customisations of, syntax highlighting, however

Ambitions for, and definitions of, syntax highlighting seem to vary
considerably. I've know hopes for syntax highlighting range from
wanting something a little more colourful in one's text editor to
wanting that text editor to catch one's mistakes.

Some people emphasise highlighting of command names, but that goal
strikes me as Sisyphean, even in terms of keeping track of Stata's
official command syntax, let alone user-written commands.


On 3 April 2013 22:03, Werner Wackernagel
<> wrote:
> How can I make the do-file editor in Stata IC 12.1 / Windows 7 (64)
> recognize user written commands (ados) and achieve proper syntax
> highlighting for those commands (as possible e.g. in Notepad++ by
> customizing the userDefinelang.xml)? Is there a language definition-file,
> which I can modify?
*   For searches and help try:

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