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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top