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 has been archived by the owner on Sep 6, 2021. It is now read-only.
The main issue is that the plain HTML syntax mode doesn't know that {{#each}} blocks should add an extra level of indent, so anything that triggers re-indentation will jump the cursor back one tab stop. As a secondary bug, Brackets treats } as a character to trigger re-indentation even in languages where it shouldn't, like HTML.
The secondary bug should be fixed by PR #9387. But after that, you'll still see unwanted un-indenting when typing closing HTML tags. To fix that, we'd need full syntax mode support for templating languages so that Brackets understands what the correct indent level should be.
If you type something like:
If you type more brackets inside the each template helper, it gets un-indented and you end up with
instead of
The text was updated successfully, but these errors were encountered: