在IntelliJ IDEA中重命名项目 [英] Renaming a project in IntelliJ IDEA

查看:1318
本文介绍了在IntelliJ IDEA中重命名项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些项目,其中包含项目的目录称为代码。

I have some projects where the directory containing the project is called "Code".

当我打开IDEA时,在我最近的项目列表中,我看到的只是名称。

When I open IDEA, in my recent projects list all I see is that name.

有什么方法可以在设置中更改它吗?

Is there any method to change this in settings ?

我试过去文件 - >项目结构 - > Project,我在IntelliJ IDEA 13中找不到Project Name选项。

I tried going to File->Project Structure->Project, I couldn't find the Project Name option in IntelliJ IDEA 13.


我在项目设置中看到了这一点。

I see this in my project settings.

推荐答案

您可以更改项目名称,这是最近项目列表中显示的名称,如下所示:

You can change the project name, which is the name that is shown in the recent projects list, like so:

转到项目结构 Ctrl + Alt + Shift + S )→项目设置/项目→项目名称:

Go to Project Structure (Ctrl+Alt+Shift+S) → Project Settings / Project → Project name:

请注意,这不应与根模块的名称或文件夹上的文件夹混淆。文件系统,可能相似也可能不相似。

Please note that this is not to be confused with name of the root module, or folder on the file system, which may or may not be similar.

编辑

请尝试进入项目中的 .idea 文件夹,创建一个名为 .name 的文件,然后输入项目名称。单行。

Please try going into your .idea folder in the project, create a file named .name and enter a project name on a single line.

例如

my-new-project-name

然后重新启动IntelliJ。

Then restart IntelliJ.

这假设您在 .idea <中使用基于文件夹的Idea项目/ code>(而不是基于文件,带.iws文件等)

This presumes you are using a folder-based Idea project in .idea (rather than file based, with .iws file etc)

这篇关于在IntelliJ IDEA中重命名项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆