You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Syntax highlighting for MATLAB (.m) and LaTeX (.tex) #10363
Plan: Wire .m → MATLAB (vendored MathWorks TextMate grammar, same registration path as Nim) and .tex/.ltx/.sty/.cls → LaTeX (presentation-only Monarch for comments, commands, environments, and math — full VS Code LaTeX TextMate pulls many embedded language scopes). Update detectLanguage so the editor opens them with the new language ids.
Thanks for the request! Both halves are now available as official plugins: LaTeX Syntax for .tex/.ltx/.sty, and the new MATLAB Syntax for .m.
To install: Settings → Plugins → turn on plugins → search for it and install. It needs Orca 1.4.246 or newer (older versions show "Needs Orca 1.4.246"), because that's the first release where an enabled plugin syntax takes precedence over Orca's own mapping for these files. Note that while MATLAB Syntax is on, every .m file is highlighted as MATLAB, including Objective-C sources.
Credit to @innocarpe, whose PR #10371 this replaces; they're a co-author of the plugin commit. If it falls short for you, please reopen and tell us what is missing.
Activity
innocarpe commentedon Jul 24, 2026
I'd like to take this.
Plan: Wire
.m→ MATLAB (vendored MathWorks TextMate grammar, same registration path as Nim) and.tex/.ltx/.sty/.cls→ LaTeX (presentation-only Monarch for comments, commands, environments, and math — full VS Code LaTeX TextMate pulls many embedded language scopes). UpdatedetectLanguageso the editor opens them with the new language ids.PR shortly.
nicolaschapados commentedon Sep 7, 2026
This would really be a nice addition (especially
.texfiles).evaristocosta commentedon Sep 24, 2026
I agree, having
.texfiles would be a great and important addition.nwparker commentedon Oct 30, 2026
Thanks for the request! Both halves are now available as official plugins: LaTeX Syntax for
.tex/.ltx/.sty, and the new MATLAB Syntax for.m.To install: Settings → Plugins → turn on plugins → search for it and install. It needs Orca 1.4.246 or newer (older versions show "Needs Orca 1.4.246"), because that's the first release where an enabled plugin syntax takes precedence over Orca's own mapping for these files. Note that while MATLAB Syntax is on, every
.mfile is highlighted as MATLAB, including Objective-C sources.Credit to @innocarpe, whose PR #10371 this replaces; they're a co-author of the plugin commit. If it falls short for you, please reopen and tell us what is missing.
Add MATLAB Syntax