m(9)m - GNU Octave / Matlab files
hkoctave.emf - Octave hook definition
octave.eaf - Octave abbreviation file
octave.etf - Octave template file.
.m - GNU Octave / Matlab file
The Octave file type editing provides simple hilighting of GNU Octave / Matlab files, abbreviations, folding and an item-list.
Abbreviations
Folding and Information Hiding
Navigation via Item List
Short Cuts
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c C-e - Comment to the end of the line with comment symbols (#).
A-C-i - Restyle the current region.
esc q - Format a comment.
esc o - Format a comment.
f2 - (Un)fold the current region.
C-f2 - (Un)fold all regions.
f6 - List items.
esc f6 - Close item list,
Executing, Formatting and Linting Octave Code
## Download the script into ~/.local/bin curl -fsSL -o ~/.local/bin/matlab-formatter \ https://raw.githubusercontent.com/mittelmark/matlab-formatter-vscode/refs/heads/master/formatter/matlab_formatter.py ### Make the script executable chmod +x ~/.local/bin/matlab-formatter #### Verify the installation matlab-formatter
The hilighting is typically extended using a file mym.emf.
Currenlty the next-line feature for interactive browsing of errors and warning for file-lint and file-exec does not work due to Octave limits on mentioning the filename for errors.
abbrev-list(3), collapse-all(3), collapse-current(3), expand-abbrev-handle(3), file-exec(3), file-format(3), file-lint(3), item-list(3), restyle-buffer(3), restyle-region(3), time(2m).
(c) Copyright JASSPA 2025
Last Modified: 2025/08/28
Generated On: 2025/09/29