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, statalist.org 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 <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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
defined.

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.

Nick
njcoxstata@gmail.com


On 3 April 2013 22:03, Werner Wackernagel
<werner.wackernagel@medunigraz.at> 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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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