Title: Advice requested: Respect existing line breaks · Issue #318 · google/google-java-format · GitHub
Open Graph Title: Advice requested: Respect existing line breaks · Issue #318 · google/google-java-format
X Title: Advice requested: Respect existing line breaks · Issue #318 · google/google-java-format
Description: I'm trying to get google-java-format to respect existing line breaks, as gofmt does. I want to make it not insert or remove newlines in the middle of a statement, even if it adjusts indentation or other things about it. I've spent some t...
Open Graph Description: I'm trying to get google-java-format to respect existing line breaks, as gofmt does. I want to make it not insert or remove newlines in the middle of a statement, even if it adjusts indentation or ...
X Description: I'm trying to get google-java-format to respect existing line breaks, as gofmt does. I want to make it not insert or remove newlines in the middle of a statement, even if it adjusts indentation...
Opengraph URL: https://github.com/google/google-java-format/issues/318
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Advice requested: Respect existing line breaks","articleBody":"I'm trying to get google-java-format to respect existing line breaks, as gofmt does. I want to make it not insert or remove newlines in the middle of a statement, even if it adjusts indentation or other things about it.\r\n\r\nI've spent some time going over the code, but I'm having trouble figuring out how to make such a change. Can you provide any pointers on how to accomplish this? \r\n\r\nThank you!\r\n-Rob","author":{"url":"https://github.com/robfig","@type":"Person","name":"robfig"},"datePublished":"2018-11-12T02:32:34Z","url":"https://github.com/google/google-java-format/issues/318"}
| 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:64a476d2-1bcf-f7d4-dae8-46d49b45f5d4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9DE:1EC692:AE417C:EEE5EB:6AFBDDE9 |
| html-safe-nonce | 5dcc70a9759b24438a405f516e60521fcf25a001484f8676fc4f5e977620d83a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOURFOjFFQzY5MjpBRTQxN0M6RUVFNUVCOjZBRkJEREU5IiwidmlzaXRvcl9pZCI6IjI4ODYxNDY4NDg1MDg4NjE5MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b0890da7794ecb26aabc42a7b856018334dd2fdbf9ab22ec1a1101861cba58c1 |
| hovercard-subject-tag | issue:379597907 |
| 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/318/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9678b23b607a1abcb43b4c6f7fd3543c527dfc91428aede1af7f2f5fa19c22ea/google/google-java-format/issues/318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9678b23b607a1abcb43b4c6f7fd3543c527dfc91428aede1af7f2f5fa19c22ea/google/google-java-format/issues/318 |
| og:image:alt | I'm trying to get google-java-format to respect existing line breaks, as gofmt does. I want to make it not insert or remove newlines in the middle of a statement, even if it adjusts indentation or ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | robfig |
| hostname | github.com |
| expected-hostname | github.com |
| None | 744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec |
| 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 | df859c48a4c8b4c0009c19bb4e82101aacb4b998 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width