IntelliJ IDEA: Solve the problem of idea import project

When we import a new project into the idea, the project obviously does not report an error, but it will appear that the parent package belongs to the normal color, and its sub-packages will burst red but not belong to the project itself. It can still be started normally. Go to a maven project on git as an example (lemur-generationa, a code generator), the import result is as follows

I don't know if there is an obsessive-compulsive disorder. It's very uncomfortable to look at. The reason is that version control is added to vcs when the idea imports the project.

We only need to modify the content of vcs.xml in the .idea folder and remove vcs="version control tool"

In this way, our project has become popular and solved.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324970088&siteId=291194637