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 }}
Repository navigation
Auto indent doesn't work with code blocks JavaScript #31027
When creating first code block "{" and pressing enter the auto fill and indent doesn't quite work as it used to, it creates the closing block and creates new lines, but does not indent them back to where they should be
a for loop looks like:
for(var key in object)
{
}
instead of:
for(var key in object)
{
}
the other way of doing it works fine when it looks like:
for(var key in object){
}
The same happens with if statements too, but it doesn't happen with switch statements
Steps to Reproduce:
Activity
[-]Auto indent doesn't work with code blocks[/-][+]Auto indent doesn't work with code blocks JavaScript[/+]rebornix commentedon Jul 19, 2017
Let's track it in #30933