godot-gdscript-toolkit icon indicating copy to clipboard operation
godot-gdscript-toolkit copied to clipboard

`gdlint`: `mixed-tabs-and-spaces` false detection on text blocks

Open MikeSchulze opened this issue 1 year ago • 1 comments
trafficstars

Hi, I use very often text blocks to better format my inline text/templates.

Looks like gdlint do not handle text blocks.

var test := """
	Hello World
	  this is a message
	"""

error:

example.gd:4: Error: Mixed tabs and spaces (mixed-tabs-and-spaces)
Failure: 1 problem found

MikeSchulze avatar Jan 23 '24 19:01 MikeSchulze

Yes, that's a bug.

Scony avatar Jan 23 '24 22:01 Scony