UltraEdit 语法着色(有2中方法)

来源:互联网 发布:保健品网络营销策划 编辑:程序博客网 时间:2024/06/11 05:10

http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/add_a_wordfile.html

(个人认为第二种更方便)

 

 

Adding a Wordfile

As of UltraEdit v15.00, UltraEdit will read all the files in the wordfile directory - allowing UE to support highlighting for all languages which have a wordfile defined in the wordfile directory.

Adding support for a new language is as easy as copying a file into a directory. First, get the text of the wordfile (either by writing your own or by downloading a user-submitted wordfile from our site).

For our example, we will use a user-submitted wordfile from our site. Simply "Select All" and then "Copy" the contents of the wordfile in your browser.

Adding a Wordfile

Now open a new file in UltraEdit (CTRL+N), and paste the contents of the file, then save the file (CTRL+S) with a .uew extension.

For example, if your wordfile name was "csharp", you would name the file "csharp.uew".

Adding a Wordfile

Note: The default wordfile directory is "%appdata%/IDMComp/UltraEdit/Wordfiles/". You can find the directory by typing %appdata%/IDMComp/UltraEdit/Wordfiles/ directly into the File Name field in the "Save" dialog.

Adding a Wordfile

After you've saved the file into your "wordfiles" directory, restart UltraEdit/UEStudio. The new highlighting language will not be available until you have restarted the application.

Once you have restarted, you should then see that the new highlighting language is available in the View : View As submenu.

Adding a Wordfile

Note: You can also change the wordfile directory in UltraEdit in Advanced : Configuration : Editor Display : Syntax Highlighting. (这便是第二种,直接更改着色文件目录)

Adding a Wordfile

原创粉丝点击