Not currently possible. Please see IDEA-103297. The highlighting is based on extensions indeed - or, more exactly, on the patterns specified for each file type in Settings/File types.
Arbitrary file syntax in WebStorm 7
-
17-06-2023 - |
Pregunta
Is it possible to set syntax for currently opened file to any arbitrary type? The way you can do it in Sublime? Or the syntax highlighting always determined based on the file extension?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow