# Editor adds spacing in variable and function names.

**URL:** <https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572>\
**Category:** Editor Scripting\
**Tags:** Variable, unreal-engine, question, Blueprint\
**Created:** [October 18, 2014, 9:06pm UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572 "2014-10-18T21:06:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TM317](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TM317](https://forums.unrealengine.com/u/TM317)\
**Post date:** [October 18, 2014, 9:06pm UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572/1 "2014-10-18T21:06:10Z")

</div>

I am not sure if I am missing a setting but I would like to know how to stop the editor from adding a space in my names(When using camel case).  
If I type “MyVariable” what I get is “My Variable”.

How to turn this off?

---

<div class="post-metadata">

**Author:** ![cahitburak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cahitburak](https://forums.unrealengine.com/u/cahitburak)\
**Post date:** [October 18, 2014, 9:18pm UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572/2 "2014-10-18T21:18:39Z")

</div>

It must be the title of variable. Your variable stands still MyVariable. Am I wrong?

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [October 18, 2014, 9:20pm UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572/3 "2014-10-18T21:20:15Z")

</div>

It’s just a display thing. Capital letters split words.

I don’t know if there is an option but you can try not using capital letters.

my\_variable for example :X

---

<div class="post-metadata">

**Author:** ![alperenakyuz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@alperenakyuz](https://forums.unrealengine.com/u/alperenakyuz)\
**Post date:** [October 25, 2014, 1:37pm UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572/4 "2014-10-25T13:37:55Z")

</div>

It would also separate them. It’s not an issue though, they are saved as the way you type them in code. So there won’t be any inconsistencies. Like eXi said it’s just a display feature for convenience.

---

<div class="post-metadata">

**Author:** ![SanTianDaYu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SanTianDaYu](https://forums.unrealengine.com/u/SanTianDaYu)\
**Post date:** [July 12, 2023, 3:58am UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572/5 "2023-07-12T03:58:34Z")

</div>

UE-\>Apperance-\>Show Friendly Variable Names

---

<div class="post-metadata">

**Author:** ![SoStylized](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sostylized/32/884544_2.png) [@SoStylized](https://forums.unrealengine.com/u/SoStylized)\
**Post date:** [February 25, 2024, 7:00am UTC](https://forums.unrealengine.com/t/editor-adds-spacing-in-variable-and-function-names/296572/6 "2024-02-25T07:00:58Z")

</div>

Omg thank you! I lost about an hour of work because I had a variable “DayLength” and a variable “Day Length” which both displayed the same so I thought I was just using one variable and thus the code made no sense.
