简体   繁体   English

如何选择在 IntelliJ 项目 window 顶部显示的目录?

[英]How to choose which directory to be shown at the top of IntelliJ project window?

before

My project window looked like the picture above and I liked it.我的项目 window 看起来像上图,我喜欢它。

now现在

But now it shows EVERYTHING in my Desktop directory.但现在它在我的桌面目录中显示了所有内容。

I want the project window to show only the files in "core" folder but I can't find out how to change the settings.我希望项目 window 仅显示“核心”文件夹中的文件,但我不知道如何更改设置。

Go to the File Menu in the top-bar, select Open Folder... and select the project Folder you want to open. Go 到顶部栏中的文件菜单,select 打开文件夹...和 select 您要打开的项目文件夹。 If you want to create a new project click on new and follow the steps.如果您想创建一个新项目,请单击新建并按照步骤操作。

Looks like your Desktop directory was opened and indexed in the IDE.看起来您的桌面目录已打开并在 IDE 中建立索引。 To fix the problem you can try to do:要解决此问题,您可以尝试执行以下操作:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM