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

No options for 120 max length with 2 spaces #951

Open
freerider7777 opened this issue Nov 16, 2023 · 3 comments
Open

No options for 120 max length with 2 spaces #951

freerider7777 opened this issue Nov 16, 2023 · 3 comments

Comments

@freerider7777
Copy link

GOOGLE is good that is has 2 spaces (but 100 max length), PALANTIR is good that it has 120 length (but 4 spaces) - why not add 120 length with 2 spaces?

@koppor
Copy link
Contributor

koppor commented Nov 16, 2023

Maybe because of

increased consistency across all repos, so contributing to other projects feels familiar

Source: https://github.com/palantir/palantir-java-format#upsides-of-automatic-formatting


Some interesting links:

Nevertheless, I think, it's hard to change the Java codestyle rule of 1997.

@freerider7777
Copy link
Author

@koppor Thanks for the links. But as there are options as GOOGLE/PALANTIR/AOSP - why not make it configurable :)) We have corporate code style - so we need to recompile such plugins...

@laglangyue
Copy link

Can we support options for maxLength and spaces length ?

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

No branches or pull requests

3 participants