[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Sergiy Radyakin" <serjradyakin@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: Re: st: Is there an ideal do file editor? |

Date |
Fri, 16 May 2008 10:36:19 -0400 |

Hello Martin. I believe there is no "ideal" text editor in the meaning you describe and there will be none since Stata itself is inconsistent in handling comments in the code. See examples here: http://www.stata.com/statalist/archive/2008-05/msg00040.html (or at least no explanation for these inconsistencies has been discovered so far). Without being able to separate code from comments, no editor will be able to highlight the syntax correctly. There are also other problems related to the nature of Stata as a language of interpretation, rather than compilation: is "foo bar" a command and an argument (variable)? a command and a subcommand (like "graph bar")? a typo? No editor that I know will resolve this, thus they refuse to highlight user-defined commands unless they are listed in a separate list (and then they usually highlight them everywhere, regardless of the syntax, that the editors are not aware of). Best regards, Sergiy Radyakin On 5/15/08, Ziyang Wang <wzmartin@ust.hk> wrote: > Hi Friedrich Huebler, > > Thank you for your great work! I tried but don't know why I cannot get through. It at best stopped at "script paused" or just do nothing.. Do you have any idea why? > > Thanks, > > Martin > > ======= 2008-05-15 22:52:48 Original Message£º======= > > >Martin, > > > >The website below describes how you can run Stata commands from > >Notepad++ and other editors. Notepad++ is free and supports syntax > >highlighting for Stata. > > > >Guide to integrating Stata and external text editors > >http://huebler.info/2008/20080427-stata.html > > > >Friedrich > > > > > >On Thu, May 15, 2008 at 2:17 AM, Ziyang Wang <wzmartin@ust.hk> wrote: > >> Dear all, > >> > >> Is there an ideal do file editor which highlights the key words of stata and in the same time allows to run it, as simple as Ctrl-D with the Stata do file editor? I really like editors which can highlights key words those staff. I tried ultraEdit but every time it calls a different Stata to run the code which is not desirable.. > >> > >> Thanks! > >> > >> Martin > >* > >* For searches and help try: > >* http://www.stata.com/support/faqs/res/findit.html > >* http://www.stata.com/support/statalist/faq > >* http://www.ats.ucla.edu/stat/stata/ > > > > = = = = = = = = = = = = = = = = = = = = > > > > > * > * For searches and help try: > * http://www.stata.com/support/faqs/res/findit.html > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ > > _____________________________________________________________________ > Mensaje analizado y protegido por Telefonica Empresas > > > * > * For searches and help try: > * http://www.stata.com/support/faqs/res/findit.html > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ > * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**Re: Re: st: Is there an ideal do file editor?***From:*Ziyang Wang <wzmartin@ust.hk>

- Prev by Date:
**st: RE: Help with loops** - Next by Date:
**st: creating a variable using -if-? programming needed?** - Previous by thread:
**Re: Re: st: Is there an ideal do file editor?** - Next by thread:
**Re: Re: Re: st: Is there an ideal do file editor?** - Index(es):

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