Like this:
the "open project" item's color is grey.
Project > Open Project and Project > Close Project may no be what you think, they apply to projects that are already in the workspace and are closed/open respectively. From the Eclipse documentation :
When a project is closed, it can no longer be changed in the Workbench and its resources no longer appear in the Workbench, but they do still reside on the local file system. Closed projects require less memory. Also, since they are not examined during builds, closing a project can improve build time.
You are probably looking for File > New > Project that would open the following wizard (select the type of project you want to create and follow the steps):
(source: eclipse.org )
To import an existing Eclipse project, use File > Import > Existing Project into Workspace .
您可能希望从存档文件将项目导入Eclipse 。
You need to first create a project using File -> New Project. Then the project you've created must be closed before you can then open it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.