Attach a directory to project

To attach a directory with SQL files to your project, open the Files tool window (View | Tool Windows | Files). Right-click somewhere in the area of the Files tool window and select Attach Directory to Project. Navigate to the directory that you want to attach and click Open.

Attach directory to project