I could not find any way to hide this warning in Intellij:
No data sources are configured to run this SQL and provide advanced code assistance
What is the magic combination of settings to make this go poof?
I had this for a typescript project, the following comment disables the warning for the specific line
// noinspection SqlNoDataSourceInspection
Other languages may have different notations but SqlNoDataSourceInspection
should be the name for all.