NotePad++ 编辑NCL 代码,实现自动补全和高亮颜色



本来http://www.ncl.ucar.edu/Applications/editor.shtml上有,但文件内容不全,我自己改了一些


由于不知道怎么上次XML 附件,XML 文件 请在楼主资源文件中下载 

资源地址:http://download.csdn.net/download/xszfy0133/9985628


设置自动补全


  1. Download the AutoComplete.xml  file, rename it to "NCL.xml", and put it into thecorrect position, for example "D:\ProgramFiles\Notepad++\plugins\APIs\", and you will also find there are manyother ".xml" files there.


  2. From the menu bar, selectSettings -> Preferences -> Auto-Completion

  3. Check the "Enableauto-completion on each input", "Function and word completion","Function parameters hint on input", "()",""

           

       4. Restart notepad++

 

 

设置高亮

  1. From the menu bar select Language-> Define Your Language

  2. Click the Import... button,import style.xml


     网上没找到全的高亮文件,这是我根据自动补全里面的函数等添加的一个比较全的高亮显示文件,如有不对的还请指正。

     

  3. Select the XML file you'd liketo use on the disk

  4. Restart Notepad++

 

选择对应的自定义语言

 

注意

设置自动补全时的文件名必须和语言选择的名字完全匹配,如果不匹配,请修改如下:语言->自定义语言格式->重命名





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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值