I have the same problem NikkyAI is having. I have found a rather silly workaround... I can cut-and-paste a query from the .sq files to the latest .sqm migration, where completion and error highlighting work correctly. In this state, the project does not compile successfully. Once I get the queries correct, I can cut-and-paste them back to the .sq files where they belong, where completion and error highlighting in intellij fail, but the project compiles correctly via gradle.