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

Support for formatOnSave after release 1.6.0

Open mrmlnc opened this issue 7 years ago • 12 comments

mrmlnc avatar Sep 26 '16 14:09 mrmlnc

Why was this closed? Seems as if there is no formatOnSave. The plugin isn't attached to vscodes formatter I guess.

Swiftwork avatar Apr 18 '17 14:04 Swiftwork

Because it works badly in case if the file will be saved when CSS has errors. For examples, see https://github.com/mrmlnc/vscode-stylefmt/issues/84.

Reopen this issue?

mrmlnc avatar Apr 18 '17 16:04 mrmlnc

Will this be implemented now when mrmlnc/vscode-stylefmt#84 has been resolved?

Swiftwork avatar May 02 '17 11:05 Swiftwork

Most likely will be done on this week. Maybe today.

mrmlnc avatar May 02 '17 12:05 mrmlnc

Code in the master branch, but we need resolve this issue: https://github.com/Microsoft/vscode/issues/21967

mrmlnc avatar May 09 '17 15:05 mrmlnc

This feature would be very helpful. Hopefully, it gets implemented soon.

PS: Thank you for this extension 👍

rahulv3a avatar Jul 27 '18 12:07 rahulv3a

Bravo for this plugin!

It'd be also be nice to support autosave within this plugin. But I'm using macro plugin to run two commands for now (format + save).

thu-san avatar Jan 17 '19 02:01 thu-san

Sorry, but how to enable this feature?

gifteddiz avatar Jan 27 '20 08:01 gifteddiz

Yah, Please help to enable auto save for portcss. Tks

thienPhan2497 avatar Apr 21 '20 17:04 thienPhan2497

Still open? Is there any change to get that finally implemented?

doctorsirius avatar Jan 11 '21 13:01 doctorsirius

I assume this is still open? I'm currently using https://github.com/ryuta46/vscode-multi-command with the following config in keybindings.json:

{
    "key": "cmd+s",
    "command": "extension.multiCommand.execute",
    "args": {
      "sequence": ["postcssSorting.execute", "workbench.action.files.save"]
    },
    "when": "editorLangId == scss || editorLangId == css || editorLangId == sass"
}

joonassandell avatar Feb 20 '21 20:02 joonassandell

Has anything changed with this?

JamesManningR avatar Mar 15 '21 15:03 JamesManningR