How do I enable syntax highlighting for Stata?
Obtain textmate package Stata-tab.tmbundle.zip
cd Stata-tab.tmbundlemv stata.tmLanguage ~/.config/sublime-text-2/Packages/User
Is there any more information on how to hook sublime text to STATA? I tried the below code on my MAC.
Does Stata appear as a language option in the status bar?
No it does not
Looks like it has to be in a folder of its own. Try this:
mv ~/.config/sublime-text-2/Packages/User/stata.tmLanguage ~/.config/sublime-text-2/Packages/Stata
The Mac path for sublime packages is ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/, not ~/.config/sublime-text-2/Packages/.
I've just released a Stata package for Sublime based on the Stata textmate bundle. It includes Syntax highlighting and a build system. Check it out here: github.com/rpowers/sublime_stata
There's a plugin available on Package Control called "Stata Enhanced".
code.tutsplus.com/courses/perfe ... ge-control