madskristensen / WebEssentials2015

A Visual Studio extension for web developers
Other
300 stars 94 forks source link

Editor intellisense goes wrong with `<` and `>=` #170

Open ljw1004 opened 8 years ago

ljw1004 commented 8 years ago

The editor doesn't parse correctly when a single line contains both '<' and '>='. It believes they're part of an HTML literal <and>, rather than two separate inline blocks. This makes it colorize the line wrongly.

More seriously, it makes the editor do dangerous reformatting. Any time you press ENTER anywhere after that line, it indents the entire remainder of the document. This makes for very painful editing!

Here's an animated GIF that illustrates the issue: webessentialsconfused