IntelliJ IDEA.与“删除现有文件并重新导入" [英] IntelliJ IDEA."Open existing project" vs "delete existing and reimport"

查看:356
本文介绍了IntelliJ IDEA.与“删除现有文件并重新导入"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在IntelliJ IDEA(Java + maven + git)中选择pom.xml时,有两个选项:Open existing projectDelete existing project and reimport

When pom.xml is selected in IntelliJ IDEA (Java+maven+git) there are two options: Open existing project and Delete existing project and reimport

选择"Open Existing"(打开现有),但在重新导入时重置,该保留的东西到底是什么?是键绑定吗? JDK版本?文件版本控制?

What exactly is the stuff that is kept when Open Existing is selected, but reset on reimport? Is it key bindings? JDK version? File versioning?

推荐答案

重新安装项目将重置保存在.idea文件夹中的所有内容(即,有关IntelliJ与代码交互的配置)-检查设置,使用的JDK (假设未在pom.xml中定义),保存的运行配置等.

Reimpoting a project will reset anything saved in the .idea folder (i.e., configurations regarding how IntelliJ interacts with your code) - inspection settings, the JDK to use (assuming it's not defined in the pom.xml), saved run configurations, etc.

这篇关于IntelliJ IDEA.与“删除现有文件并重新导入"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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