网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

Notepad++显示VB函数列表

时间:2024-10-14 15:36:37

1、一般新版本的notepad++带有functionList.dll插件,但是不支持VB函数列表。

2、在notepad++的安装目录下找到functionlist.xml文件打开

3、在<associationMap>列表中加入<association id= "vb_fun艘早祓胂ction" langID="18"/>

4、在<parsers>列表末尾中加入<parser id="vb_function" displayN锾攒揉敫ame="Visual Basic (.NET|Script|for Applications)" commentExpr="(('.*?$)|(REM.*?$))"> <function mainExpr="(sub|function|property([\s]+(get|let))?)[\s]+[[:alpha:]][\w]*([\s]+lib[\s]+&quot;[\w]+&quot;([\s]+alias[\s]+&quot;[\w]+&quot;)?)?[\s]*\([^\)\(]*\)" displayMode="$className->$functionName"> <functionName> <nameExpr expr="((sub|function|property)[\s]+)?\K((let|get)?[\s]+)?[\w&quot;]+([\s]+lib[\s]+&quot;[\w]+&quot;([\s]+alias[\s]+&quot;[\w]+&quot;)?)?"/> </functionName> </function></parser>

© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com