Skip to content

vscode format modified lines wrong behavior #1055

@Qosc

Description

@Qosc

In vscode, setting formatOnSave: true, formatOnSaveMode: modifications, use stylua to format lua files, when I edit line 10 and line 100, it should format line 10 and line 100, but now it seems to format all lines from line 10 to 100.
I tried with p4 and git both seem wrong, and I tried with py file and that seems to work properly.
Currently vscode version 1.107.1, stylua 2.3.1, vscode stylua extension version 1.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions