How to keep indentation after insert multiple new lines


#1

I’m writting some html and for example when I put a div, inside of it I like to put three new lines and start writing on the second line. When I press Enter, the new line is auto indented but if I continue pressing Enter the above lines loses the indentation.

Exists a way to keep the indentation for all the new lines?


#2

I can’t reproduce this behavior using Atom v1.4.1 on Mac OS X 10.11.3. Have you followed the suggestions in the Debugging document? Also, could you give the following information?

  • Which version of Atom are you using?
  • What OS and version are you running?
  • Do you have Emmet installed?
  • Can you reproduce the issue after completely exiting Atom and restarting using atom --safe?

#3

I have the version 1.4.1 for Windows and I have installed the Emmet package. I tried to run atom --safe but the problem continues happening.

I followed the Debugging document and there aren’t errors on the terminal neither on the inspector.


#4

Please open an Issue on https://github.com/atom/atom and post a link to the Issue here on this topic. Also, when you create the Issue, please include as much of your config.cson as possible.


#5

Issue opened: Indent is not kept when inserting multiple line breaks