vscode-postcss-sorting icon indicating copy to clipboard operation
vscode-postcss-sorting copied to clipboard

Conflicts with other formatters

Open shainanigans opened this issue 6 years ago • 0 comments

Environment

  • VSCode Version: 1.29.1
  • OS Version: macOS 10.14.1

Actual behavior

I've installed both PostCSS Sorting and Beautify, but only one will run when "editor.formatOnSaveVSCode" is true, depending on which was installed most recently. (Same issue with Prettier and other formatters.) As this issue on the VSCode repo notes, when "editor.formatOnSaveVSCode" is true, VSCode will run the most recently installed formatter if multiple formatters have been installed for a particular file type.

Expected behavior

Both formatters would run.

Steps to reproduce

Install and set up PostCSS Sorting, then install Beautify. Sorting will no longer work.

...

There hasn't been much movement on the VSCode issue, so I was wondering whether there is either a known work-around for this, or whether an option to run the formatting on onBeforeSave like this comment might be introduced to PostCSS Sorting.

shainanigans avatar Dec 06 '18 15:12 shainanigans