Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • UltraEdit Word File

    Has anyone developed a wordfile for UltraEdit do to Stata syntax highlighting in UltraEdit? On the IDM site last versoin they have is for STATA 7 and the file looks like there are many gaps.

    Would love something for STATA 14. Thought about building it myself, but would not know where to start or all the commands etc.

    http://www.ultraedit.com/downloads/e...wordfiles.html

    thanks

    Alan

  • #2
    See getcmds by @Jeff Pitblado.
    Code:
    findit getcmds
    Last edited by Friedrich Huebler; 29 Apr 2015, 07:59.

    Comment


    • #3
      This is exactly what I was doing with TextMate actually. There isn't by any chance a way to do this with functions as well is there?

      Comment


      • #4
        As a hack, I pulled out all of the help files for defined functions f_. This unfortunately leaves out anything for which multiple functions are covered in a single help file.

        edit: I realized that I might have clobbered people's search results by listing all of the functions in the thread, so I appended them as a file.
        Attached Files
        Last edited by Malcolm Wardlaw; 10 Nov 2015, 19:18.

        Comment


        • #5
          After a little bit of regex, I believe I pulled all of the function names from the help files. Caveat emptor here, my regex-fu skills are grasshopper level at best, so I can't claim this is comprehensive.
          Attached Files

          Comment


          • #6
            The motives for using syntax highlighting seem to vary from

            1. The files look more colourful.

            to

            2. It helps identify possible errors in your code.

            Compiling lists of command names and function names no doubt helps, but that's like the mythical labours of Hercules insofar as user-written commands are, whatever it is, a few thousand more, although in practice any individual user might employ only a few.

            I've found that matching for paired punctuation catches many more errors in my code than does flagging possible typos, but experiences naturally can vary.

            Comment

            Working...
            X