Title: Eclipse plugin produces different result as standalone formatter version · Issue #119 · google/google-java-format · GitHub
Open Graph Title: Eclipse plugin produces different result as standalone formatter version · Issue #119 · google/google-java-format
X Title: Eclipse plugin produces different result as standalone formatter version · Issue #119 · google/google-java-format
Description: I'm testing the plugin, by installing it and selecting the google-java-formatter: [1]. Trying it on this file in Gerrit Code Review, produces completely different result, as release version 1.2 of google java-formatter: [2]. What I was d...
Open Graph Description: I'm testing the plugin, by installing it and selecting the google-java-formatter: [1]. Trying it on this file in Gerrit Code Review, produces completely different result, as release version 1.2 of ...
X Description: I'm testing the plugin, by installing it and selecting the google-java-formatter: [1]. Trying it on this file in Gerrit Code Review, produces completely different result, as release version 1.2...
Opengraph URL: https://github.com/google/google-java-format/issues/119
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Eclipse plugin produces different result as standalone formatter version","articleBody":"I'm testing the plugin, by installing it and selecting the `google-java-formatter`: [1].\r\nTrying it on [this](https://gerrit.googlesource.com/gerrit/+/master/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/edit/ChangeEditIT.java) file in Gerrit Code Review, produces completely different result, as release\r\nversion 1.2 of google java-formatter: [2]. What I was doing, is `Ctrl-A` followed by `Ctrl+Shift+F`.\r\n\r\nIf I run this command:\r\n\r\n```\r\n$ google-java-format -i gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/edit/ChangeEditIT.java\r\n```\r\n\r\nwhere the reported version is:\r\n\r\n```\r\n$ google-java-format --version\r\ngoogle-java-format: Version 1.2\r\n```\r\n\r\nthen I get the commited version again (no diff).\r\n\r\nEclipse version:\r\n\r\n```\r\nVersion: Neon.1a Release (4.6.1)\r\nBuild id: 20161007-1200\r\n```\r\n\r\ngoogle-java-formatter is built from: 760a13c9cc7c5741c289dbea8162970e9b33bdbe\r\n\r\n* [1] http://imgur.com/a/TXliV\r\n* [2] http://paste.openstack.org/show/598171/ ","author":{"url":"https://github.com/davido","@type":"Person","name":"davido"},"datePublished":"2017-02-09T06:38:34Z","url":"https://github.com/google/google-java-format/issues/119"}
| 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:aab40b6e-525e-a051-5a5c-ed46c915f182 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E59E:17DB0:69AFF:904DC:6AFBF587 |
| html-safe-nonce | 6d1f6184221aa2822a3e4be08adea26b8bcb1dd588b715cba50cd4b3e952faa1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTlFOjE3REIwOjY5QUZGOjkwNERDOjZBRkJGNTg3IiwidmlzaXRvcl9pZCI6Ijc1NjY3MjIzMzQxODI4NjQyNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 63c511d02b7d171570288fd3d61e24d911de0bf181412e01467b3cbc467cdc97 |
| hovercard-subject-tag | issue:206418727 |
| 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/119/issue_layout |
| twitter:image | https://opengraph.githubassets.com/346f6aedc1b093bb083b7137f72960237d541935b58fa786a60aafdf67ffd981/google/google-java-format/issues/119 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/346f6aedc1b093bb083b7137f72960237d541935b58fa786a60aafdf67ffd981/google/google-java-format/issues/119 |
| og:image:alt | I'm testing the plugin, by installing it and selecting the google-java-formatter: [1]. Trying it on this file in Gerrit Code Review, produces completely different result, as release version 1.2 of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davido |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| 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 | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width