Atom adds spaces at the start of the after hitting enter between opening and closing tags


#1

Hi there!

I have a problem with some pesky spaces. They appear when I write tag, it gets autoclosed (I use an extra package for it, but if that’s disabled it still happens) and and I hit enter between them.

So basically, two space characters appear, and I don’t want them to. I have set my tabs to be hard and worth 4 spaces, this works just fine. The best possible solution would be for me to make Atom insert a tab character instead of those two spaces in this scenario. I would also be happy if the spaces wouldn’t appear, I can hit tab myself if I need to but I hate deleting the spaces beforehand.

Thank you for the help in advance! :slight_smile:


#2

Additionally: If the new tag is inside another, a tab character properly will be added in the named scenario and the two extra spaces will be placed after it (these, I don’t want).