Since updating to PyCharm 2020.1, any SQL files can no longer be run "standalone". Ctrl-Enter does not execute the query (nothing happens), and when using Alt-Enter (or light bulb) to attach to a session, a red balloon "Nothing to run" pops up. Most of the buttons in the editor toolbar are disabled:
I did find out that when the complete query is selected in the open SQL file, I can run it, not with Ctrl-Enter but with an attached session, but in case there are user parameters in the query, they are ignored and result in syntax errors.
The weird thing is, when copying & pasting the complete query to a console attached to a data source session, it all works fine. User parameter values can be supplied and the query displays its results.
Note that I also attempted Invalidate Cache and Restart, without success.