Title: Enforcing a space in one-line comment breaks //$NON-NLS-x$ notation · Issue #221 · google/google-java-format · GitHub
Open Graph Title: Enforcing a space in one-line comment breaks //$NON-NLS-x$ notation · Issue #221 · google/google-java-format
X Title: Enforcing a space in one-line comment breaks //$NON-NLS-x$ notation · Issue #221 · google/google-java-format
Description: Hi, Since version 1.4 a new rule formats "//comment" into "// comment". Unfortunately Eclipse uses "//$NON-NLS-x$" comments to avoid internationalization warnings. If you add the space it does not work anymore. We have these all over the...
Open Graph Description: Hi, Since version 1.4 a new rule formats "//comment" into "// comment". Unfortunately Eclipse uses "//$NON-NLS-x$" comments to avoid internationalization warnings. If you add the space it does not ...
X Description: Hi, Since version 1.4 a new rule formats "//comment" into "// comment". Unfortunately Eclipse uses "//$NON-NLS-x$" comments to avoid internationalization warnings. If ...
Opengraph URL: https://github.com/google/google-java-format/issues/221
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enforcing a space in one-line comment breaks //$NON-NLS-x$ notation","articleBody":"Hi,\r\nSince version 1.4 a new rule formats \"//comment\" into \"// comment\". Unfortunately Eclipse uses \"//$NON-NLS-x$\" comments to avoid internationalization warnings. If you add the space it does not work anymore. We have these all over the place in our codebase which prevents us of using versions of google-java-format later than 1.3.\r\nWould it be possible to handle this case? (maybe a solution is to check if the first character is alpha-numeric)\r\nAlternatively would there be a workaround for us with a setting.\r\nThanks!","author":{"url":"https://github.com/romp13","@type":"Person","name":"romp13"},"datePublished":"2017-11-07T13:37:35Z","url":"https://github.com/google/google-java-format/issues/221"}
| 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:98740c4c-630d-b571-c2c5-d3cfb4e106aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B504:2BE17D:83B243:AF88DC:6AFBD390 |
| html-safe-nonce | ca34329a4833fe4898dc40080bc8244f4913a9b9abffaef543574178b6a06676 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTA0OjJCRTE3RDo4M0IyNDM6QUY4OERDOjZBRkJEMzkwIiwidmlzaXRvcl9pZCI6IjU0NjkyNDI3OTEzODY5MjgwMTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dd469ded3e751e2fffaadf3fea54c7e8128d03ba2ab4c1e1edaf88913eff79cd |
| hovercard-subject-tag | issue:271833867 |
| 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/221/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e3e8607edc42980a67ed882469bd60d1147eb013e85f0f5fe8ef66cab91195b/google/google-java-format/issues/221 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e3e8607edc42980a67ed882469bd60d1147eb013e85f0f5fe8ef66cab91195b/google/google-java-format/issues/221 |
| og:image:alt | Hi, Since version 1.4 a new rule formats "//comment" into "// comment". Unfortunately Eclipse uses "//$NON-NLS-x$" comments to avoid internationalization warnings. If you add the space it does not ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romp13 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07 |
| 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 | 820be804f18e1ef3940bd74a00d41d73d02e2b91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width