Notepad++添加新语言支持

 Notepad plus与语言相关的配置文件主要有:

langs.xml - all the keywords of supported languages to be highlighted are in this file.

langs.model.xml - A backup file?

userDefineLang.xml - this file contains all the definitions for user defined languages to be highlighted

notepad++\plugins\APIs路径下的代码自动补全配置文件 - For various languages, the autocompletion facility requires xml files.

 

 Notepad plus已经支持50多种语言,一般情况下大家可以到网上找到对应语言的配置文件。进入对话框View -> User Define Dialog....变可以配置,详细参考:

http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Language_Files

 

如果你想配置一种新语言的关键词高亮可以参考:

http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages

非常详细的教程。

 

如何开启 Notepad plus的自动提示功能,而不是手动按Ctrl + Enter之类的功能键?

Setting->Preferences->Backup/Auto-Completion,进去点几个钩钩就OK了。

 

你可能感兴趣的:(xml,File,user,语言,plugins)