PHPStorm disable html-syntax highlighting in PHP string
-
29-10-2019 - |
Pergunta
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?
Solução
Alt+Enter on the string, Un-inject Language:
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow