Skip to content

oxfmt/lsp: .gitignored files are not formatted on saving #19082

@brc-dd

Description

@brc-dd

... formatting them from the CLI works as expected (https://oxc.rs/docs/guide/usage/formatter/ignore-files.html#gitignore).

Screen.Recording.2026-02-06.at.8.46.37.PM.mov

It works if I remove .vscode from .gitignore, though every change in .gitignore currently needs extension host restart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-editorArea - Editor and Language ServerA-formatterArea - Formatter

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions