Do-file Editor enhancements

The Do-file Editor also has enhancements in Stata 18: 

Automatic backups. Documents that are open in the Do-file Editor are periodically saved to a backup file on disk. This includes new documents that have not been saved to disk yet. If your computer were to lose power or crash before you had a chance to save the changes to your document, your unsaved changes can still be recovered. To recover your unsaved changes, open your document in the Do-file Editor again. If a backup file is found in the same location as your document, you will be prompted to recover the backup file or open the document that was last saved to disk. Recovering the backup file will simply load it into the Do-file Editor; it will not overwrite the document that was saved to disk unless you choose to do so. 

Syntax-highlight user-defined keywords. Stata's Do-file Editor now includes the ability to syntax-highlight user-defined keywords. This will allow you to syntax-highlight your favorite community-contributed commands. You simply create a specially named keyword definition file containing a list of keywords, and Stata will syntax-highlight those keywords using a setable color and font styles such as bold or italics. You can even create a global keyword definition file that can be shared with all users of the same computer. Each user can still create their own local keyword definition file, and the keywords from both the global file and the local file will be loaded into the Do-file Editor. 

Post your comment

Timberlake Consultants