CodeEdit: Auto Indent
behaves differently than Convert Indent to Tabs or Spaces
.
#78680
Labels
Auto Indent
behaves differently than Convert Indent to Tabs or Spaces
.
#78680
Godot version
3.x, 4.x
Issue description
IMO
Auto Indent
should callConvert Indent to Tabs
orConvert Indent to Spaces
, dependent on the default editor settings for tabs or spaces.And / or properly adjust the indentation in the current cursor line (or line selection), if this was implemented for this purpose (I couldn't follow the implementation myself).
Steps to reproduce
For example, with the default editor settings, indent some line with 4 spaces.
Auto Indent [Ctrl-i]
inserts 2 TABs,Convert Indent to Tabs
inserts 1 TAB.Minimal reproduction project
See also fix indentation in script templates.
The text was updated successfully, but these errors were encountered: