godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.48k stars 148 forks source link

Option to disable builtin code formatter #677

Closed snorreks closed 1 week ago

snorreks commented 1 week ago

Godot version

4.2.2

VS Code version

1.64.2

Godot Tools VS Code extension version

2.0.0

System information

Linux

Problem statement

I am using gdformat to format the files and i do not need the builtint code formatter.

Proposed solution

"godotTools.editor.formatter": false
DaelonSuzuka commented 1 week ago

VSCode only ever formats files when you tell it to. Just turn off format-on-save. Or install one of the seven extensions that call gdformat and select that as your default formatter for GDScript.