Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the Code Style to an IntelliJ Setting Repository #27

Open
jreehuis opened this issue May 13, 2019 · 2 comments
Open

Move the Code Style to an IntelliJ Setting Repository #27

jreehuis opened this issue May 13, 2019 · 2 comments

Comments

@jreehuis
Copy link

IntelliJ / Android Studio is lately changing the code style xml structure quite often when upgrading the IntelliJ / Android Studio version.
This gets quite cumbersome to support as many as possible older versions of the IDE.

Other than that it also makes it hard to maintain the code style in a project repository as the devs get forced to use a set version or loose some features of the code style as the IDE does not understand the option any more.

Maybe we could adopt the code style to an IntelliJ settings repository?
(https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html#settings-repository)

@passsy
Copy link
Contributor

passsy commented May 13, 2019

The downside of this would be that when the settings aren't part of the project anymore and may change without a project specific commit. There is no option to select a specific commit/tag.

Btw: Be careful when testing it. Don't select this repo for testing, it overrides master and force pushes your local settings 😮

@jreehuis
Copy link
Author

Unfortunately this is a big contra. I am not sure if such settings repository is the way to go, but I wanted to start a discussion about it.
Currently we have the situation that some devs are using AS 3.4 and some 3.5 Beta. So at least one group will get automatically applied changes to the code style xml automatically stage upon commits.
This is quite annoying and I do not like to tell a dev which exact IDE version he has to use if there is not real strong point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants