How do I enable syntax highlighting for Stata?
Stata syntax
anydroid
#2
Obtain textmate package Stata-tab.tmbundle.zip
cd Stata-tab.tmbundle
mv stata.tmLanguage ~/.config/sublime-text-2/Packages/User
0 Likes
katthegreat
#3
Is there any more information on how to hook sublime text to STATA?
I tried the below code on my MAC.
- downloaded Stata-tab.tmbundle.zip
On my command line: - cd Stata-tab.tmbundle
But… - mv stata.tmLanguage ~/.config/sublime-text-2/Packages/User
mv does not work for me
Any suggestions?
0 Likes
nick1
#6
Looks like it has to be in a folder of its own. Try this:
mkdir ~/.config/sublime-text-2/Packages/Stata
mv ~/.config/sublime-text-2/Packages/User/stata.tmLanguage ~/.config/sublime-text-2/Packages/Stata
0 Likes
quarnster
#7
The Mac path for sublime packages is ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/, not ~/.config/sublime-text-2/Packages/.
0 Likes
rpowers
#8
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
Ryan
0 Likes