不需要刷新,phpstorm会自动帮你刷新目录下的文件,如果你是想添加新的目录,点开file->settings->project-directories,然后再点Add Content Root把需要添加的新目录添加进去就可以了