Skip to content

[FEATURE REQUEST] Invoke code formatting from CLI #1240

@Real-Gecko

Description

@Real-Gecko

I have a project with 3K+ Lua files I need to format. The problem is if I use something like this it takes forever. I disabled diagnostics like this:

    "Lua.diagnostics.enable": false,
    "Lua.diagnostics.workspaceDelay": 10000,
    "Lua.diagnostics.workspaceRate": 1,
    "Lua.diagnostics.disableScheme": ["git", "."]

Yet for some reason lua-language-server triggers diagnostics all the time and it slows down the process.
image

So, it would be great to trigger code formatting from CLI without doing any diagnostics.

I tried this tool but it has different styling by default so it was not really helpful, but it's blazing fast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions