Title: Consider exposing option for longer line lengths · Issue #425 · google/google-java-format · GitHub
Open Graph Title: Consider exposing option for longer line lengths · Issue #425 · google/google-java-format
X Title: Consider exposing option for longer line lengths · Issue #425 · google/google-java-format
Description: While not Google's style, several other companies and projects prefer longer line length than 100 chars. My current team evaluated google-java-format, and the most contention issue was the line length being too short. I feel like the maj...
Open Graph Description: While not Google's style, several other companies and projects prefer longer line length than 100 chars. My current team evaluated google-java-format, and the most contention issue was the line len...
X Description: While not Google's style, several other companies and projects prefer longer line length than 100 chars. My current team evaluated google-java-format, and the most contention issue was the line...
Opengraph URL: https://github.com/google/google-java-format/issues/425
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consider exposing option for longer line lengths","articleBody":"While not Google's style, several other companies and projects prefer longer line length than 100 chars. My current team evaluated google-java-format, and the most contention issue was the line length being too short. I feel like the majority of the value of the formatter has been lost over this one point.\r\n\r\nFor programmers with wider monitors (more and more common these days), the 100 char line limit results in a lot of wasted space. The main benefits of the shorter line length seem to be for people looking at two pages of code side by side. However, this is not a frequent activity, and code is normally viewed one page width at a time. \r\n\r\nI don't think the line length that google-java-format uses needs to be general purpose. I propose 120 as a straw-man. Popular projects, such as Spring and Netty use 120 chars. GitHub adds a horizontal scrollbar after 120 too. I think such projects would be much more amenable to using this formatter if there was a `--long-lines` option, similar to the `--aosp` option.","author":{"url":"https://github.com/carl-mastrangelo","@type":"Person","name":"carl-mastrangelo"},"datePublished":"2019-12-17T16:47:06Z","url":"https://github.com/google/google-java-format/issues/425"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8b44a298-3cb5-0385-c0b8-fa235fda974f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F4A:9E4F3:2633E9:343F25:6AFBB141 |
| html-safe-nonce | 33e72d128cd89e889332ce1b2b4c0798a393a88cda5ba6b0af50583ec4bc0d8a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjRBOjlFNEYzOjI2MzNFOTozNDNGMjU6NkFGQkIxNDEiLCJ2aXNpdG9yX2lkIjoiMjI4MjAwNjM5Nzc4MjMwNzEzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a502521209096a05dd2fae7e18d29284efaacf05097b9e1046fe8ad7927e579 |
| hovercard-subject-tag | issue:539187120 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/google-java-format/425/issue_layout |
| twitter:image | https://opengraph.githubassets.com/119e5e834ec2d88f322e7b7e972e22dc2da122a6c496c12e528b132b9bfabbe3/google/google-java-format/issues/425 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/119e5e834ec2d88f322e7b7e972e22dc2da122a6c496c12e528b132b9bfabbe3/google/google-java-format/issues/425 |
| og:image:alt | While not Google's style, several other companies and projects prefer longer line length than 100 chars. My current team evaluated google-java-format, and the most contention issue was the line len... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | carl-mastrangelo |
| hostname | github.com |
| expected-hostname | github.com |
| None | e25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55 |
| turbo-cache-control | no-preview |
| go-import | github.com/google/google-java-format git https://github.com/google/google-java-format.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 35448780 |
| octolytics-dimension-repository_nwo | google/google-java-format |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35448780 |
| octolytics-dimension-repository_network_root_nwo | google/google-java-format |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 08c8f17f9d27054a108b8b6254e405de0151f660 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width