How to add Format config file to VSCode workspace using Ionide

548 Views Asked by At

I want to add specific workspace setting for Formatting for F#

I see that Ionide for VSCode uses FsAutoComplete which in turns uses Fantomas as the Formatter and that Fantomas has config file support (not documented), but I tried to add .fantomas-config and fantomas-config.json in the root of my project and the config file was ignored.

Ultimately what I want to achieve is:

  1. preserve new lines made by me.
  2. set the "word wrap" column length
  3. Other common formatting options like indentation etc.
0

There are 0 best solutions below

Related Questions in F#