Added small part with tips for IntelliJ settings to the Contrubuting.md (#5148)

* added small part with tips for IntelliJ settings

* Update CONTRIBUTING.md

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
This commit is contained in:
StefanSpieker 2021-01-09 09:35:54 +01:00 committed by GitHub
parent 3d297b3438
commit ae6f5a96eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -115,6 +115,14 @@ the repository maintainers will integrate it, prepare changelogs, and
ensure it gets released in one of upcoming Weekly releases. ensure it gets released in one of upcoming Weekly releases.
There is no additional action required from pull request authors at this point. There is no additional action required from pull request authors at this point.
## IntelliJ suggestion
In case you are using IntelliJ, please adjust the default setting in respect to whitespace fixes on save.
The setting can be found in Settings -> Editor -> General -> On Save -> Remove trailing spaces on: `Modified lines`
This will help minimize the diff, which makes reviewing PRs easier.
We also do not recommend `*` imports in the production code.
Please disable them in Settings > Editor > Codestyle > Java by setting _Class count to use import with '*'_ and Names count to use import with '*'_ to a high value, e.g. 100.
## Copyright ## Copyright
The Jenkins core is licensed under [MIT license], with a few exceptions in bundled classes. The Jenkins core is licensed under [MIT license], with a few exceptions in bundled classes.