Search code examples
javascripthtmlexpressintellij-idea

HTML highlighting within javascript strings doesnt work right on Intellij Idea


I am writing html within javascript in my express server (intellij IDEA ultimate), and when i press option + up to select the outter tag in html, it most of the times get the wrong one.

Hard to explain so here is a before and after. I highlight body, i expect pressing option + up to highlight the rest of the body, but instead it goes wild.

is this a bug? is there a fix for this?

Before pressing option + up: enter image description here

After pressing option + up: enter image description here


Solution

  • It is in fact a bug. Opened an issue on YouTrack.

    Closing