简体   繁体   中英

Contributing to the same GitHub project using both IntelliJ Idea and Android Studio

My question is simple. I'm developing an app on GitHub using Android Studio. Should I accept contributions from someone using ItelliJ Idea?

You should let every user use their preferred editor to edit the files in your project. It should not matter what editor a user uses to work on your project.

However , you should not check in any files specific to any editor, whether that's Android Studio, IntelliJ IDEA, or something else. All tooling should be agnostic to the editor and invoked using a standard build or linting tool in your environment. Those are the best practices for all projects.

If you need things like standard ways to express indentations, character sets, and line endings, that's what EditorConfig files are for. They are supported by some editors natively, while others require a plugin.

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