Editor Templates Package
The EditorTemplates package is a suite of tools used to make templates
that can then be easily inserted in an active editor window. The concept
is similar to having many strings on the clipboard that you can paste into an editor. This works by taking the selected text or editor file you
wish to turn into a template (copy) and write it to a function that when
called inserts the text at the current mouse position in the current
editor.
This was developed to make it so that frequently used templates do not
need to be rewritten or copied from a repository. Instead you can call a
function (or use the function as a shortcut!) to insert the text when you
need it.
There are a few common templates predefined for your use or modifications.
To get started, unzip the the file into a folder on your path. Then run:
EditorTemplates.Contents
Citation pour cette source
Sean de Wolski (2024). Editor Templates Package (https://www.mathworks.com/matlabcentral/fileexchange/40349-editor-templates-package), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
+EditorTemplates/
+EditorTemplates/+Templates/
+EditorTemplates/private/
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.1 | Updated license |
||
1.1.0.0 | Latest Submission. |
||
1.0.0.0 |