GDQuest / GDQuest/GDScript-formatter

Editor config option `gdscript_formatter_indent_blank_lines` does not work with Godot editor

Open
#315 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
455
Forks
39
Avg merge
1d 15h
Merged PRs (30d)
4

Description

Works well from cli and zed editor but some reason it does not work add-on. I tried addon version "0.24.0" from GitHub (since addon yet to update in Godot store).

Also, dedicated cli option for "indent_blank_lines" would be nice.

Temporary Fix:
If I add `.editorconifg` file at temporary file path (`/tmp/`) then it works with addon.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior with addon version 0.24.0 in the Godot editor, comparing it with the CLI and Zed editor where the option works. Check how the add-on locates or loads EditorConfig files, including the temporary /tmp/.editorconfig workaround; done means gdscript_formatter_indent_blank_lines works in the add-on without that workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot, rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.