Skip to content

vscode: Formatter doesn't work with JSON5 #18488

@Jazcash

Description

@Jazcash

Am using oxc.oxc-vscode version 1.41.0. When formatting a .json file, oxfmt manages to format it just fine, but simply renaming the filetype to .json5, it comes up with:

Image

In the docs, the formatter is listed as supporting JSON5: https://oxc.rs/docs/guide/usage/formatter.html#supported-languages

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-editorArea - Editor and Language Server

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions