Home Download Buy Blog Forum Support

JavaScript indentation seems to have regressed?

JavaScript indentation seems to have regressed?

Postby rdougan on Fri Feb 17, 2012 2:22 am

If I type the following code in an HTML file or a JavaScript file (appropriate syntaxes selected), it does not indent properly:

Code: Select all
foo({
    bar: [<return>]
})


Notice where I press enter.

The correct behaviour is this:

Image

But I always get this:

Image

This was working a few weeks ago. I'm using the dev build.

Another issue that I have is you cannot comment out the following code in an HTML file:

Code: Select all
<script></script>


It simply changes it to:

Code: Select all
// <script></script>


This has never worked AFAIK. It works fine with other HTML tags.

Has anyone else experienced this?

Many thanks for the great product.
rdougan
 
Posts: 44
Joined: Sat Apr 09, 2011 2:37 am

Re: JavaScript indentation seems to have regressed?

Postby warrenparsons on Fri Feb 17, 2012 8:24 pm

Both of these issues happen for me, running the latest Dev build.
warrenparsons
 
Posts: 1
Joined: Fri Feb 17, 2012 8:23 pm

Re: JavaScript indentation seems to have regressed?

Postby rdougan on Sun Feb 19, 2012 7:30 pm

Fixed in 2080. Thanks.
rdougan
 
Posts: 44
Joined: Sat Apr 09, 2011 2:37 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 36 guests