Preference to have small dot or something for [space]

preference so can turn on and off
many times i have this problem where i acidentally add a space behind a id, then the message doesnt react and doesnt have error and i go crazy

Yeah, an option to show whitespace characters would be pretty sweet. @mats.gisselson, had this been suggested before?

@illuminae have you reported this via Help->Suggest Feature?

1 Like

I dont think so

Space in code brakes the code?

1 Like

what

like for example in the layer id property of a tilemap i wrote "floor "(space behind floor)
and when i try to call that layer with “floor” it wond react because “floor” and "floor " is different

Oh, you meant inside string quotes.

1 Like

Perhaps we should just trim whitespace from the ends of ids? Not sure when you’d ever want to have whitespace around these.

4 Likes

But - that already exists? Both tab and space have a character showing (albeit not very strongly).
22

1 Like

I think he means that these whitespaces are not highlighted inside input fields in the properties panel in the editor.

2 Likes

Whitespace shenanigans?

1 Like