質問

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?

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top