![]() Then it is done: the Stata syntax is highlighted in colors in UltraEdit. Restart UltraEdit, and click the menu View - View As (Highlighting File Type) - Stata7.Copy the path, open Finder and press Command+Shift+G at the same time, then jumps a dialog box, paste the path into the dialog box and press Return, and finally move the wordfile for Stata - stata7.uew - into the folder.For example, in my computer, it is ‘/Users/guochangzhao/Library/Application Support/ UltraEdit/wordfiles’. Find the folder where the wordfiles are saved: open UltraEdit – click the menu UltraEdit – click the sub-menu Preferences – click the tab ‘Syntax Highlighting’, then we will find the path to folder containing word files.Note that when save this file, the extension name must be ‘.uew’. Download the user-submitted wordfile for Stata in the website of UltraEdit.The following introduction is for Mac for windows, there is a detailed guideline in the official support website of UltraEdit. However, UltraEdit actually provides this function and we only need to download a file and save it in the folder ‘wordfile’ of UltraEdit. In my experience, this is quite effective except for a small flaw: UltraEdit is not born with Stata syntax highlighting, while syntax highlighting can improve coding efficiency significantly. The point here is never opening the do file using the do file editor of Stata. When some one handles data with Chinese characters on Stata for Mac, juts like me, he/she may be often bothered by the fact that Chinese Characters in a do file always become ‘?’ once he/she opens the do file again using the Stata built-in do file editor – this problem does not exist in Windows.Ī solution - maybe not smart - to this problem is coding in UltraEdit, and then copy the commands into the Stata command window or Stata do file editor to run these commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |