Please fix the EJS indentation

Hello, I've been using Webstorm for a while, and I found this issue which has been ignored FOR OVER 2 YEARS. I'd like to ask if there is a reason this hasn't been implemented or fixed yet, since it makes my code hard to read when I format it.

What I want:

{code:lang=ejs|title=expected}
<% if (test) { %>
    <p>test</p>
<% } %>
{code}

What I get:

{code:lang=ejs|title=expected}
<% if (test) { %>
<p>test</p>
<% } %>
{code}

It would be nice to have an option in the settings to enable this indent.

Refer here: https://youtrack.jetbrains.com/issue/WEB-29190

0
3 comments

please follow https://youtrack.jetbrains.com/issue/WEB-15657 for updates to be notified on any progress with this feature

0
Avatar
Permanently deleted user

I was just trying to bring this issue up since I'd really like to see this improvement, it seems to be an abandoned issue - any chance this could get to the Webstorm devs?

0

we normally take our customers’ feedback and votes into account when making decisions about this or that feature request, and discuss the feature implementation (requirements and timeline) right in the youtrack ticket. Normally, the most popular requests are implemented. As you can see, there is no much demand for this feature, and EJS itself is not very popular...

If you are talking about obligations or guarantees – we don’t provide any, concerning the feature requests, as it’s more like a custom development that we don’t really provide. But, if we like to abandon the feature, it's normally closed with Won't Fix resolution, or moved to backlog

0

Please sign in to leave a comment.