如何在Intellij Idea 12中重命名/移动项目? [英] How to rename / move a project in Intellij Idea 12?

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

问题描述

此处所述,可以更改项目名称。但是,它只更改项目的名称,并且不会更改文件夹结构。

As stated here one can change the name of a project. However, it only changes the name of the project and it will not change the folder structure.

例如,如果您的项目名为sample1且它位于〜/ user1 / development / IdeaProjects / sample1,则文件夹位置不会更改为〜/ user1 /开发/ IdeaProjects / sample2如果将项目名称更改为sample2。

As an example if your project is called sample1 and it resides ~/user1/development/IdeaProjects/sample1, the folder location won't be changed to ~/user1/development/IdeaProjects/sample2 if one changes the project name to sample2.

推荐答案

似乎必须右键单击项目(按照重命名项目的说明操作后),然后选择重构 - >移动以将项目重新定位到新位置。我没有找到任何重命名和移动项目的解决方案。

It seems that one has to right click on the project (after following the instructions to rename the Project), then choose Refactor -> Move to relocate project to the new location. I didn't find any solution to rename and move a project at once.

这篇关于如何在Intellij Idea 12中重命名/移动项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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