A Notepad++ function list for MATLAB

Displays Methods and Functions of an m-file in a Tree View Control in the Notepad++ IDE
799 download
Aggiornato 30 giu 2017

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Environment and Settings in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0

Fixed a typo