0

Long tag snippet not working after inserting new line before

James Sumners 7 years ago • updated 7 years ago 0
If you try to use the "Long tag" snippet after using the "Insert new line before" shortcut then the snippet will not work. For example, start a new XML document:

<?xml version="1.0" encoding="UTF-8"?>
<body>
</body>

On line 3, use the insert line before shortcut to get:

<?xml version="1.0" encoding="UTF-8"?>
<body>
    |
</body>

Where "|" indicates the cursor position after the shortcut. Now, try issuing the long tag snippet sequence ("<,tab"). You will get a "<" followed by a tab character instead of "<p></p>".