Skip to content

nonnullish/octave-formatter-vscode

 
 

Repository files navigation

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.