Announcement

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

  • Text editor advice

    For too long time-unfortunately- been away from Stata, but back, now with access to Stata 13.

    Regarding text-editor: The version 13" " internal" text-editor seems improved.

    Is the general consensus still that an " external" text-editor is to prefer?

    And then which one? The old discussion page which focused on editors with integration options seems very old: http://fmwww.bc.edu/repec/bocode/t/textEditors.html.

    The general wikipedia page [ https://en.wikipedia.org/wiki/Category:Text_editors] does not directly list the compatability of the ( too) many editors.

    There must be more recent advice and suggestions for optimal text-editors which are able to integrate with Stata (Or should I switch to the Stata editor?)

    Which one do you prefer?

    thanks

    Jannik


  • #2
    Just to note that I gave up some years ago on maintaining http://fmwww.bc.edu/repec/bocode/t/textEditors.html -- more as a side-effect of being busy with other things than on purpose, but the effect's the same. It's there for anyone to take over if they want. Documenting all the editors someone might use with Stata seems now more than anyone would want to do, even with help, but I am not possessive about that page at all.

    Some people find a text editor and stick with it for years. Other people seem to be always on the lookout for something even better than what they use already.

    I use the Stata text editor a lot. I use my favourite text editor a lot. The division is, apart from caprice, between making small changes to code and focusing on writing or rewriting code directly.

    My favourite text editor is Vim. All the integration I need is that Vim provides some syntax highlighting and that I customise fedit (SSC) to call up Vim.

    Your mileage (kilometreage?) will vary. Some people care -- a lot -- about being able to run Stata from their favourite editor. I care a lot about running my favourite editor from within Stata.

    Comment


    • #3
      I have a GitHub repository explaining Stata integration with Sublime Text 3, Visual Studio Code and Notepad++ for Windows PC.
      For Notepad++ and Visual Studio Code integration, I used Friedrich Huebler's excellent code and tweaked the rundolines programme. My contribution is that I brought the cursor (focus) back to the editor, rather than leaving at the Stata window.
      I didn't include Atom due to its technical glitches and personally do not recommend, to save your time.

      https://github.com/sook-tusk/Tech_In...R_with_Editors

      I hope it helps anyone
      who is interested in running Stata code externally.
      Last edited by Sook Kim; 11 Dec 2022, 05:43.

      Comment

      Working...
      X