Skip to content

Broken autoformatter for ligo-vscode

The autoformatter for ligo-vscode has the following bugs with the Caml syntax:

  1. Comments are deleted on autoformat.
  2. #import directives are deleted on autoformat.
  3. #include directives dump all the lines from the included file into the current file!
  4. Parameterized type declarations are deleted, e.g. let foo (type a) ... becomes let foo ....
Edited by Eric Christiansen