Ctrl + K , Ctrl + D - Формат текущий документ.
Помог мне зафиксировать добавление отступа и удалить ненужные пробелы быстро
Basically you want to insert CRLF:
CR code:
LF code:
<myelement description="line1 line2 line3"/>
If you need it in XML attribute, you'll have to use character entities:
<element attribute="First line Second line Third line..." />
Try it like this:
<description><![CDATA[first line<br />second line<br />]]></description>
Basically you wrap the content within your tag inside "" for the closing tag, inbetween this tag you can use
to cause a line break. If you want to double space it, use two
like this:
Hope this helps.