Skip to content

Extension 'Prettier...cannot format 'TypeScript'-files #3774

@sd1n-pge

Description

@sd1n-pge

Summary

Open vs code command pallet and select Format Document. This triggered the following error message to pop up

Extension 'Prettier - Code formatter' is configured as formatter but it cannot format 'TypeScript'-files

Note that npm run prettier works as expected

Additional information

This broke for me today (2025-09-10) when I updated the extension to 11.0.0

Image

VS Code Version: 1.103.2

Prettier Extension Version: 11.0.0

OS and version: macOS 15.6

Prettier Log Output

There are none as far as I can tell

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