Main Features
- Syntax Highlighting--Choose your favorite color scheme
- Though syntax coloring facilitates writing & reading codes via visual distinction of structures and syntax errors, Stata’s default editor pays almost no attention to this feature. While Stata’s default editor offers only one alternative color scheme(dark mode in 16), Sublime Text has literally hundreds of color schemes and UI themes.
- Auto-completions or snippets
- In Stata 16, default editor offers auto-completion of words existing in the current do-file. In Sublime Text, Stata plugins additionally support auto-completion of some popular commands and loop statements. Moreover, Stata plugin for Windows also supports auto-completion of variable names from currently loaded dataset, which Stata does not support in their built-in Do-file Editor but in the command window. You can also add your own auto-completion code to Sublime Text.
- Bracket Highlighting
- In Sublime Text, matching sets of a variety of brackets(such as [], (), {}, "", '', html tags and custom brackets) can be highlighted via bracket highlighting package. With this feature, you can easily identify the range of code enclosed in brackets and correct errors in the code before Stata shows error message.
- Color Highlighting & Inserting
- In Sublie Text, you can directly view colors corresponding to hex codes or color names in your do-file while editing and insert a hex code corresponding to the color you chose in the pop-up colorpicker window. With SSC package -grstyle-, it is possible to change a color of your graph as desired with one (keyboard) shortcut and one (mouse) click.
- And do-file execution via exactly the same keyboard shortcut as Stata’s default editor!
- You can also change the key bindings to your liking.
Contact Information
×
JeongHoon Min |
last updated: 13 December 2019
Note: IE does not support code-copying without line-numbers |