Step: File-> Setting to open the Settings panel to open the Directories node, and then see Add Content Root Options, click Eject disk file directory, select the corresponding item or directory.
Reproduced in: https: //www.cnblogs.com/hubcarl/p/3433329.html