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了。

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值