今天 要查看 Makefile, 弄了一下UltraEdit的语法高亮,把过程记录下来:
参考了这里:http://zhangjian995.blog.163.com/blog/static/231164332010712219674/
1. UltraEdit版本,及语法高亮文件下载地址。
我所用UltraEdit版本为V21,如下图:
UltraEdit语法高亮文件下载地址:http://www.ultraedit.com/files/wf/wf.zip
2. 将下载的wf.zip文件解压,并从中找出你需要的“语法”(我的为makefile.uew),解压到UltraEdit的”语法高亮目录“(在高级-->配置-->编辑器显示-->语法着色中查看),如下图:
3. 更改一下上图中 “语法高亮”路径,在改回来(不更改UltraEdit可能不会重新读取“语法高亮路径”),然后点击 应用-->确定。在重启UltraEdit,打开一个Makefile,如下图:
4. 由于我打开的是不带后缀名“MK”的Makefile文件,所以就没有用Makefile语法高亮显示此文件(貌似UltraEdit是通过后缀名选择用哪种语法高亮的)。自己手动选择下用哪种语法高亮,如图:
5. 完成了,UltraEdit语法高亮显示Makefile。