> I am a new user. Every time I edit a Stata program file, I have to
> manually load the color syntax file using "misc/load color syntax
> file". There must be a way to do that automatically, right? Thanks!
This is explained in detail in the help file s.v. syntax
highlighting:
>>> To enable automatic syntax highlighting:
1. Open a file with the desired filename extension; e.g. open any
.c, .h, .htm or .html file.
2. Select {MISC, Load syntax file} and select the corresponding
.SYN file, e.g. "c.syn" or "html.syn".
Color syntax highlighting should now be visible.
3. Select {CONFIG, File-open config, Save filename extension
config}. The default filename in the file-save dialog box should be
correct, e.g. "c.cft" or "html.cft".
4. Make sure that {CONFIG, File-open config, Enable file-open
configuration} is enabled.
If it was not enabled and you just enabled it, you should also select
{CONFIG, Save config} to save this new config setting. (This step is
not needed if {CONFIG, Auto-save config} is enabled.)
Fritz
|
|