A Notepad++ function list for MATLAB
This submission makes use of the two features, Function List, and User Defined Language, UDL, of Notepad++. Function List shows a list of functions and methods of the current file. UDL defines syntax highlighting.
Notepad++ <https://notepad-plus-plus.org/> is a free and open source code editor running in MS Windows. It has been around since 2003 and it's still under development. I think that Notepad++ is a useful complement to the editor of Matlab and I use it to
1. inspect large text files, e.g. data and log files. A few hundred thousand lines is no problem.
2. search (and replace) in m-files; refactor code. It supports regular expressions.
3. quickly approach an unknown code-base
Notepad++ ‘Function-list’ for Matlab, by chen xinfeng, ( http://uk.mathworks.com/matlabcentral/fileexchange/55396-notepad++--function-list--for-matlab ), inspired me to put together a parser, which handles both functions and classes. Thanks to a lot of support by @MAPJe71 and @guy038 at the https://notepad-plus-plus.org/community/, I now have something running.
Installation: This submission contains six xml-files. Contents of these shall be copy&pasted into your files, functionList.xml and userDefineLang.xml, respectively. The two files are found in %APPDATA%\Notepad++ or in the Notepad++ installation. There is a detailed description of the installation process under the Examples tab.
Finally, there is a question attached: Would you like to see a function list parser for Matlab included in Notepad++? If so, let me know in a comment below.
引用格式
per isakson (2024). A Notepad++ function list for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/63587-a-notepad-function-list-for-matlab), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!html/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0 | Fixed a typo |
|