vscode-toml icon indicating copy to clipboard operation
vscode-toml copied to clipboard

Option to disable TOML formatter?

Open connortann opened this issue 3 years ago • 1 comments

Is there a configuration setting to disable the formatter? It is useful having syntax highlighting, but sometimes it is not desirable to sort items alphabetically.

connortann avatar Feb 15 '22 10:02 connortann

I was about to open a bug very similar to this because the TOML extension formatting is incompatible with prettier TOML formatting, https://github.com/bd82/toml-tools/issues to be more precise.

I identified only one issue but that is a bug PITA as it seems that is not possible to configure the extension to avoid vertically indenting comments, so it does clash with prettier which never idents them.

As prettier runs on CI/CD pipelines, that takes precedence over extension.

ssbarnea avatar Feb 07 '23 17:02 ssbarnea