Please check the following in HANA Studio:
Windows -> Preferences -> General -> Editors -> File associations -> Check for .sql and confirm that you still have SAP HANA SQL console (as default) and SQL Editors / Query builder etc in the associated editors.
If they are not there, please add them.
This is just one of the possibilities, but worth trying.
Regards,
Ravi