Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Octave FormatterNew to Visual Studio Code? Get it now.
Octave Formatter

Octave Formatter

tusindfryd

|
9,843 installs
| (1) | Free
Format Octave code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Octave Formatter

This is a fork of matlab-formatter-vscode by affenwiesel, adapted to support Octave.

Indent and format Octave code. Also usable as standalone without VScode.

IMAGE

Requirements

  • python 3

Extension Settings

  • octave-formatter.indentwidth: Number of spaces used for indentation.
  • octave-formatter.separateBlocks: Control whether newlines should be added before and after blocks such as for, if, while and so on.
  • octave-formatter.pythonPath: Optional custom path to python executable. Setting this options requires restarting vscode.
  • octave-formatter.formatterPath: Optional custom path to matlab formatter. Setting this options requires restarting vscode.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft