Title: IntelliJ IDEA (1.16) - Parsing error at import time · Issue #911 · google/google-java-format · GitHub
Open Graph Title: IntelliJ IDEA (1.16) - Parsing error at import time · Issue #911 · google/google-java-format
X Title: IntelliJ IDEA (1.16) - Parsing error at import time · Issue #911 · google/google-java-format
Description: Hello 👋 How to reproduce: In a Java file, simply start writing a class name which require an import and is not imported yet (e.g. List) Use the IntelliJ IDEA auto-import feature => google-java-format will send immediately after a parsing...
Open Graph Description: Hello 👋 How to reproduce: In a Java file, simply start writing a class name which require an import and is not imported yet (e.g. List) Use the IntelliJ IDEA auto-import feature => google-java-form...
X Description: Hello 👋 How to reproduce: In a Java file, simply start writing a class name which require an import and is not imported yet (e.g. List) Use the IntelliJ IDEA auto-import feature => google-java-f...
Opengraph URL: https://github.com/google/google-java-format/issues/911
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IntelliJ IDEA (1.16) - Parsing error at import time","articleBody":"Hello 👋\r\n\r\nHow to reproduce:\r\n1. In a Java file, simply start writing a class name which require an import and is not imported yet (e.g. List)\r\n2. Use the IntelliJ IDEA auto-import feature\r\n=> google-java-format will send immediately after a parsing error message + will not format properly import:\r\n\r\nExample:\r\n```java\r\nimport java.util.List;import javax.inject.Singleton;\r\n```\r\n\r\nThis issue is not present with the previous version of the plugin (1.15)\r\n\r\n\r\n\r\n## Environment details\r\n\r\nIntelliJ IDEA 2022.3.2 (Ultimate Edition)\r\nBuild #IU-223.8617.56, built on January 26, 2023\r\nRuntime version: 17.0.5+1-b653.25 amd64\r\nVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.\r\nWindows 10 10.0\r\nGC: G1 Young Generation, G1 Old Generation\r\nMemory: 2048M\r\nCores: 20\r\nRegistry:\r\n debugger.new.tool.window.layout=true\r\n ide.experimental.ui=true\r\n\r\nNon-Bundled Plugins:\r\n com.wakatime.intellij.plugin (14.1.4)\r\n google-java-format (1.16.0.0)\r\n org.jetbrains.plugins.hocon (2022.1.0)\r\n MavenRunHelper (4.23.222.2964.0)\r\n org.sonarlint.idea (8.0.0.63273)\r\n zielu.gittoolbox (500.0.4+213)\r\n mobi.hsz.idea.gitignore (4.4.4)\r\n\r\nKotlin: 223-1.8.0-release-345-IJ8617.56","author":{"url":"https://github.com/Djaytan","@type":"Person","name":"Djaytan"},"datePublished":"2023-03-06T10:52:15Z","url":"https://github.com/google/google-java-format/issues/911"}
| 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:85a4b9f3-0f1d-95fd-d96d-4982115a80ea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A002:1F855F:DF57AE:133C455:6AFBF049 |
| html-safe-nonce | 8c9980b62bd2b6c5cc17bbf32a1335c66d466506e34e218c00b001a9e9ac6be8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDAyOjFGODU1RjpERjU3QUU6MTMzQzQ1NTo2QUZCRjA0OSIsInZpc2l0b3JfaWQiOiI4MjQ0NzU5NTUyNjYyOTU4MTUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c2625a4d15a66159d12b500591fc089f1692cbe168dc0f64d426155c6717c612 |
| hovercard-subject-tag | issue:1611140686 |
| 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/911/issue_layout |
| twitter:image | https://opengraph.githubassets.com/51cb5ed7fbbff05290fd148ad7c8d575b38831da61afe7f861bc6330c4828e5b/google/google-java-format/issues/911 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/51cb5ed7fbbff05290fd148ad7c8d575b38831da61afe7f861bc6330c4828e5b/google/google-java-format/issues/911 |
| og:image:alt | Hello 👋 How to reproduce: In a Java file, simply start writing a class name which require an import and is not imported yet (e.g. List) Use the IntelliJ IDEA auto-import feature => google-java-form... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Djaytan |
| 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