Overriding built-in file types

Answered

Is it possible to override built-in file type association?

I'm working a project which has many HiveQL queries with .hql extension (instead of *.q extension).

When I open *.hql file with IntelliJ, it opens the file as Hibernate query with Hibernate syntax check applied.

I tried to associate *.hql file type with SQL, but IntelliJ doesn't allow me to override it.  It says:

"This wildcard is reserved for 'Hibernate query' filetype and cannot be reassigned"

 

It seems like this mapping is built-in and not visible anywhere in Preferences.

Is there any way to register *.hql files as SQL?

0
1 comment

This message is shown for file types which are read-only. Read-only file types are not shown in the "File Types" settings dialog, and the extensions associated with such file type can not be changed. Not all built-in file types are read-only but 'Hibernate query' is.

0

Please sign in to leave a comment.