MATLAB Snippets App adds code snippets to the Matlab editor. Snippets definition uses syntax compatible with the Visual Studio Code and with the Textmate 1.x. The integration to the Matlab editor is loose, the snippets are inserted by a keyboard shortcut (usually <ALT+1>).
See the Github project page for the animated App use examples:
https://github.com/trnkap/matlab-snippets
Features:
* snippets can contain tabstops with default values (placeholders)
* any tabstop value can be mirrored on multiple locations in the snippet
* variables containing currently selected text, currently edited filename, etc. can be used
* tabstop mirroring and variables can be altered by regular expressions
Cite As
Pavel Trnka (2024). MATLAB Snippets (https://github.com/trnkap/matlab-snippets), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Insert a piece of code (a snippet) in the Matlab editor, JSONLab (Development Branch), findjobj - find java handles of Matlab graphic objects
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
+Snippet
+Snippet/+Element
+Snippet/+Variable
dialogs
jsonlab-1.5
jsonlab-1.5/examples
utils
utils/editor
utils/formatting
utils/regexp
html
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.6 | Bug fix. |
|
|
1.0.5 | Hide window handle to avoid conflicts with gcf, gca, etc. |
|
|
1.0.4 | Bug fix. |
|
|
1.0.3 | Fix for high DPI screens with text scaling. |
|
|
1.0.2 | Fix: App did not start after Matlab restart. |
|
|
1.0.1 | Description update |
|
|
1.0.0 |
|