Skip to content

Sorry, but don't format CSS #3798

@FedericoBoccaccioLavorativo

Description

Summary

I installed the extension and tried to format a block of code, but nothing happened.
I also find the button at the bottom right of the status bar inconvenient. I already have many extensions installed and space is limited.

Steps To Reproduce:

  1. Install extension
  2. Select a css code in <style> tag, without select <style>
  3. Ctrl+Shift+P > Format selection

Expected result

The CSS is formatted

Actual result

No change

Additional information

My .prettierrc in project root

{
	"useTabs": true,
	"tabWidth": 1,
	"bracketSameLine": false
}

VS Code Version:

Versione: 1.104.3 (user setup)
Commit: 385651c938df8a906869babee516bffd0ddb9829
Data: 2025-10-02T12:30:51.747Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
Sistema operativo: Windows_NT x64 10.0.26100

Prettier Extension Version: 61.566.650

OS and version: Windows 11 24H2

Metadata

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