# Preference to have small dot or something for \[space\]

**URL:** <https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524>\
**Category:** Feature requests (USE GITHUB)\
**Created:** [May 30, 2019, 10:51am UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524 "2019-05-30T10:51:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![illuminae](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/illuminae/32/15208_2.png) [@illuminae](https://forum.defold.com/u/illuminae)\
**Post date:** [May 30, 2019, 10:51am UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/1 "2019-05-30T10:51:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 30, 2019, 7:14pm UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/2 "2019-05-30T19:14:42Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![illuminae](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/illuminae/32/15208_2.png) [@illuminae](https://forum.defold.com/u/illuminae)\
**Post date:** [May 30, 2019, 11:18pm UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/3 "2019-05-30T23:18:55Z")

</div>

I dont think so

---

<div class="post-metadata">

**Author:** ![NeZvers](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/nezvers/32/16030_2.png) [@NeZvers](https://forum.defold.com/u/NeZvers)\
**Post date:** [May 31, 2019, 6:16am UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/4 "2019-05-31T06:16:55Z")

</div>

Space in code brakes the code?

---

<div class="post-metadata">

**Author:** ![illuminae](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/illuminae/32/15208_2.png) [@illuminae](https://forum.defold.com/u/illuminae)\
**Post date:** [May 31, 2019, 8:50am UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/5 "2019-05-31T08:50:06Z")

</div>

what

---

<div class="post-metadata">

**Author:** ![illuminae](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/illuminae/32/15208_2.png) [@illuminae](https://forum.defold.com/u/illuminae)\
**Post date:** [May 31, 2019, 8:52am UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/6 "2019-05-31T08:52:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![NeZvers](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/nezvers/32/16030_2.png) [@NeZvers](https://forum.defold.com/u/NeZvers)\
**Post date:** [May 31, 2019, 9:00am UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/7 "2019-05-31T09:00:10Z")

</div>

Oh, you meant inside string quotes.

---

<div class="post-metadata">

**Author:** ![mats.gisselson](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mats.gisselson/32/3379_2.png) [@mats.gisselson](https://forum.defold.com/u/mats.gisselson)\
**Post date:** [May 31, 2019, 9:56am UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/8 "2019-05-31T09:56:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jerakin](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/jerakin/32/3997_2.png) [@Jerakin](https://forum.defold.com/u/Jerakin)\
**Post date:** [May 31, 2019, 12:14pm UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/9 "2019-05-31T12:14:34Z")

</div>

> [@britzl](#):
>
> option to show whitespace characters would be pretty sweet

But - that already exists? Both tab and space have a character showing (albeit not very strongly).  
 ![22](https://forum-defold.b-cdn.net/uploads/default/original/3X/5/d/5d5d841ed92adc302930c0cd2efeac3efe0a1182.png)

---

<div class="post-metadata">

**Author:** ![sven](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/sven/32/1086_2.png) [@sven](https://forum.defold.com/u/sven)\
**Post date:** [May 31, 2019, 12:26pm UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/10 "2019-05-31T12:26:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Klear](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/klear/32/11577_2.png) [@Klear](https://forum.defold.com/u/Klear)\
**Post date:** [May 31, 2019, 12:48pm UTC](https://forum.defold.com/t/preference-to-have-small-dot-or-something-for-space/53524/11 "2019-05-31T12:48:35Z")

</div>

> [@mats.gisselson](#):
>
> Perhaps we should just trim whitespace from the ends of ids? Not sure when you’d ever want to have whitespace around these.

[Whitespace](https://en.wikipedia.org/wiki/Whitespace_(programming_language)) shenanigans?
