thanks to Jho for pointing out how to get code folding to work. i updated the syntax file and made a few other tweaks. the link and picture have been updated and here are the instructions for installing (tested with v5.9.6.1):
View -> User-Defined Dialogue...
Click Import
Select smali_npp.xml
no picture here, use imagination
There will be a message box that says "Import successful."
Any new files you open should have syntax highlighting.
several people have asked for smali highlighting for notepad++. thanks to furrelkt for having already sent me an example. here's what i've come up with: https://sites.google.com/site/lohanplus/files/smali_npp.xml
there are many limitations for notepad++'s user defined language. i could not get many tokens to highlight correctly, or as well as ultraedit or the highlighter used on this blog. perhaps a full lexer plugin could handle it. if you write one or make improvements to this xml, let me know.

本文详细介绍了如何通过更新语法文件和进行少量调整来启用代码折叠功能,并提供了安装指南。还分享了一个适用于Notepad++的Smali插件XML文件示例,解决了Smali语言的高亮显示问题。同时,文章讨论了Notepad++用户自定义语言的局限性,并提出了可能需要全解析器插件的解决方案。
708

被折叠的 条评论
为什么被折叠?



