A Notepad++ function list for MATLAB

Version 1.0 (994 KB) by per isakson
Displays Methods and Functions of an m-file in a Tree View Control in the Notepad++ IDE
768 Downloads
Updated Fri, 30 Jun 2017 04:20:58 +0000

View License

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.

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Environment and Settings in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0

Fixed a typo