IntelliJ IDEA.与“删除现有文件并重新导入" [英] IntelliJ IDEA."Open existing project" vs "delete existing and reimport"
问题描述
在IntelliJ IDEA(Java + maven + git)中选择pom.xml时,有两个选项:Open existing project
和Delete 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屋!