简体   繁体   中英

work with intellij IDEA instead of netbeans on github repository

We are five students working in the same project.This project was created with Netbeans, and we have a repository on gitHub. I want to use Intellij and the four team members are using NetbeansIDE so can i work on this repository using Intellij IDE, without break the repo...if yes how can i do it.

Java source code is stored as plain text. You could have a person on your team using Notepad and it wouldn't make a difference. I will include a few caveats to this statement, however:

  1. Don't add any IntelliJ IDEA or Netbeans files to the project. You can add the entire .idea folder to your .gitignore . I'm not sure if Netbeans has a similar folder.
  2. Make sure your team agrees on tabs vs. spaces, indentation level, etc. Both IDEs include tools to format your code, so you want to keep it consistent.

Making the project a maven/gradle project would be a great solution. This way managing the build and dependencies of the project will be independent from the IDE, development parties are using.

Absolutely! If you have a .gitignore just ignore the files that the respective ides eg .idea for IntelliJ.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM