Title: Tab characters are not removed from single line comment · Issue #1149 · google/google-java-format · GitHub
Open Graph Title: Tab characters are not removed from single line comment · Issue #1149 · google/google-java-format
X Title: Tab characters are not removed from single line comment · Issue #1149 · google/google-java-format
Description: content with tab: public class Test { /** * The client's first name. * * @serialField serial String some test some testsome testsome testsome testsome testsome test * Path components separated by separator loooooooooooooooonooooooooooooo...
Open Graph Description: content with tab: public class Test { /** * The client's first name. * * @serialField serial String some test some testsome testsome testsome testsome testsome test * Path components separated by s...
X Description: content with tab: public class Test { /** * The client's first name. * * @serialField serial String some test some testsome testsome testsome testsome testsome test * Path components separated ...
Opengraph URL: https://github.com/google/google-java-format/issues/1149
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tab characters are not removed from single line comment","articleBody":"content with tab:\r\n```\r\npublic class Test {\r\n /**\r\n * The client's first name.\r\n *\r\n * @serialField serial String some test some testsome testsome testsome testsome testsome test\r\n * \t\t\tPath components separated by separator loooooooooooooooonooooooooooooooooooooog.\r\n */\r\n public String\tthirdName;\r\n // here is tab \t.\r\n private serial\tserial;\r\n}\r\n```\r\n\r\n\r\nvisualization of tabs and formatting:\r\n```\r\n$ cat -A Test.java \r\npublic class Test {$\r\n /**$\r\n * The client's first name.$\r\n *$\r\n * @serialField serial String some test some testsome testsome testsome testsome testsome test$\r\n * ^I^I^IPath components separated by separator loooooooooooooooonooooooooooooooooooooog.$\r\n */$\r\n public String^IthirdName;$\r\n // here is tab ^I.$\r\n private serial^Iserial;$\r\n}$\r\n\r\n\r\n$ java -jar google-java-format-1.23.0-all-deps.jar Test.java > TestUpdated.java\r\n\r\n$ cat -T TestUpdated.java \r\npublic class Test {\r\n /**\r\n * The client's first name.\r\n *\r\n * @serialField serial String some test some testsome testsome testsome testsome testsome test\r\n * Path components separated by separator loooooooooooooooonooooooooooooooooooooog.\r\n */\r\n public String thirdName;\r\n\r\n // here is tab ^I.\r\n private serial serial;\r\n}\r\n```\r\n\r\nall tabs are removed except for singleline comment","author":{"url":"https://github.com/romani","@type":"Person","name":"romani"},"datePublished":"2024-08-24T15:28:16Z","url":"https://github.com/google/google-java-format/issues/1149"}
| 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:b59c7b6e-a442-dda9-1112-2c3e658f9cda |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E586:2E0E94:236D65:2FCC6A:6AFBAEA5 |
| html-safe-nonce | 9b306fe3e8d8f30d778baf08566a8ebb99a5fb1c0dbcceb2a6aa00aaf53d44c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTg2OjJFMEU5NDoyMzZENjU6MkZDQzZBOjZBRkJBRUE1IiwidmlzaXRvcl9pZCI6IjM0NTM1NTg1OTg2NDA4NDAzNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5d69ca8647822d8ebf55b8da2bd047e951cb36fe27ff11cffa0976ca740e128d |
| hovercard-subject-tag | issue:2484670273 |
| 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/1149/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f843c22d899e9fcc06c1c64b219c27387ee940caea4507215aca5af35a51af5d/google/google-java-format/issues/1149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f843c22d899e9fcc06c1c64b219c27387ee940caea4507215aca5af35a51af5d/google/google-java-format/issues/1149 |
| og:image:alt | content with tab: public class Test { /** * The client's first name. * * @serialField serial String some test some testsome testsome testsome testsome testsome test * Path components separated by s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romani |
| 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