Skip to content

Is there support for Format Document? #622

Open
@tysonmatanich

Description

Tried to use as the defaultFormatter via right click or Shift+Alt+F but nothing happens. Am I missing something?

"[css]": {
    "editor.defaultFormatter": "stylelint.vscode-stylelint"
},

I am aware it supports formatting on save via codeActionsOnSave fixAll, however this seems like a bit of a hack and requiring you to save the file to format it.

 "editor.codeActionsOnSave": {
    "source.fixAll": "explicit",
    "source.fixAll.stylelint": "explicit"
  },

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions