Sublime Forum

STATA & Sublime sync - Windows (easy setup)

#1

Hello,

in case you’re a Windows user and you want your Sublime to parse code directly into STATA (just like the Do-file editor does), here’s something that may help you.

Go through the tutorial on Friedrich Huebler’s website: huebler.blogspot.nl/2008/04/stata.html

Follow the first two steps of the setup as described on the website.
In the 3rd step, open your Sublime and create a new Build System. The system should contain following code (you might want to change your path):

{
    "cmd": "rundolines.exe"],
    "path": "C:\\ado\\personal\\"
}

Save this Build System, select it manually from the list and run your selected code in STATA by pressing Ctrl+B

Cheers,

J<

0 Likes

#2

This capability is awesome; however, I have the problem of the control key being stuck on after calling rundolines. This page, http://huebler.blogspot.com/2008/04/stata.html, describes this as a known issue and suggests not using control or shift. However I have the same problem using alt-b as the keybinding.

Any ideas for how to make this work without the modifier key getting stuck?

0 Likes