In PHPStorm 3.0, a PHP string like:

$sString = '<div><span class="someClass">test</span></div>';

has HTML Syntax / opening and closing brackets highlighting.

I would like to disable this behavior and display it as a string only.

Anyone figured out where I can change this?

有帮助吗?

解决方案

Alt+Enter on the string, Un-inject Language:

un-inject

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top