Wrong new line in WebStorm

I've just noticed this issue: I got html file and in body I got this:



<!--[if gte IE 6]>
<style type="text/css">
.ui-dialog-movefull { width:94%; }
</style>
<![endif]-->

If I got cursor at the end of the line ending css"> and I press Enter

, it creates new line properly, but the cursor jumps to the end of the fiist line ending 6]> - it's pretty annoying ?:|

Can you also reproduce this issue?
3 comments
Comment actions Permalink

Hi Martin,

Which version exactly do you use? I'm unable to reproduce it in latest EAP build of PhpStorm PS-106.550 (PhpStorm = WebStorm + PHP)

0
Comment actions Permalink

So I narrowed down the problem - it only occurs when I got this code in .aspx file. I tried to strip down the file when keeping up the error and finally WebStorm thrown an Excpetion, which was reported as 274808 - I think it might be related to the newline problem.
I use the latest EAP 106.550

this example does it, save it into .aspx file: put caret at the end of the line 'css">' and press Enter
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<!--[if lte IE 7]>
<style type="text/css">
.ui-dialog-movefull { width: 94%; }
</style>
<![endif]-->
</body>
</html>

Another question - where can I found reported issues from WebStorm? From VS2010/R# I get link to created issues in YouTrack everytime i submit one, but there is only "issue number" after reporting problem in WebStorm. I can't even find the issue in YouTrack in "latest WebStorm issues".

0
Comment actions Permalink

Hi Martin,

I was able to reproduce the same behavior in aspx file. Please file a new Bug report on Issue Tracker: http://youtrack.jetbrains.net/issues/WI

Another question - where can I found reported issues from WebStorm? From VS2010/R# I get link to created issues in YouTrack everytime i submit one, but there is only "issue number" after reporting problem in WebStorm. I can't even find the issue in YouTrack in "latest WebStorm issues".

I do not think that you can see such autogenerated reports -- they are reported separately.

0

Please sign in to leave a comment.