You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
I noticed that when trying to tab-complete an ERB tag, it does not work if the cursor is directly after HTML tags with no whitespace, and seemingly any other punctuation. I wasn't sure if this was intentional, or a limitation of some sort.
I'm using Atom 0.210.0 on Mac OS X 10.10.3.
To reproduce:
Open a new document and set the syntax to HTML (Rails).
Autocomplete a span tag, which places the cursor in between: <span></span>
Type = and then press tab to trigger the snippet.
Expected behavior:
An ERB tag would be created inside the span, like so:
<span><%=%></span>
Actual behavior:
The cursor jumps ahead to after the closing tag without creating the ERB tag:
<span>=</span>
Triggering this snippet works if it directly follows whitespace or an alphanumeric character, so I wasn't sure if following symbols should work the same.
Please let me know if I missed some documentation, or if this should be reported elsewhere. Thank you.