Title: organizeImports needs to be called twice to be stable · Issue #57030 · microsoft/TypeScript · GitHub
Open Graph Title: organizeImports needs to be called twice to be stable · Issue #57030 · microsoft/TypeScript
X Title: organizeImports needs to be called twice to be stable · Issue #57030 · microsoft/TypeScript
Description: 🔎 Search Terms organizeImports 🕗 Version & Regression Information I was unable to test this on prior versions because this seems to be a tooling issue. ⏯ Playground Link No response 💻 Code import {abc, Abc} from 'b'; import { I, R, M, } ...
Open Graph Description: 🔎 Search Terms organizeImports 🕗 Version & Regression Information I was unable to test this on prior versions because this seems to be a tooling issue. ⏯ Playground Link No response 💻 Code import {...
X Description: 🔎 Search Terms organizeImports 🕗 Version & Regression Information I was unable to test this on prior versions because this seems to be a tooling issue. ⏯ Playground Link No response 💻 Code impo...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/57030
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"organizeImports needs to be called twice to be stable","articleBody":"### 🔎 Search Terms\n\norganizeImports\n\n### 🕗 Version & Regression Information\n\n- I was unable to test this on prior versions because this seems to be a tooling issue.\r\n\n\n### ⏯ Playground Link\n\n_No response_\n\n### 💻 Code\n\n```ts\r\nimport {abc, Abc} from 'b';\r\nimport {\r\n I,\r\n R,\r\n M,\r\n} from 'a';\r\n```\r\n\n\n### 🙁 Actual behavior\n\nThis needs to be organized twice in order to be stable. The first time we get\r\n\r\nimport {I, M, R} from 'a';\r\nimport {abc, Abc} from 'b';\r\n\r\nand the second time we get\r\n\r\nimport {I, M, R} from 'a';\r\nimport {Abc, abc} from 'b';\r\n\n\n### 🙂 Expected behavior\n\nI'd expect\r\n\r\nimport {I, M, R} from 'a';\r\nimport {Abc, abc} from 'b';\r\n\r\nthe first time around\n\n### Additional information about the issue\n\n_No response_","author":{"url":"https://github.com/iteriani","@type":"Person","name":"iteriani"},"datePublished":"2024-01-11T23:05:02Z","url":"https://github.com/microsoft/TypeScript/issues/57030"}
| 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:b32e92fd-7fe5-0c93-03a8-24203ff8492b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8570:161320:114AE9:170EE6:6B0184C8 |
| html-safe-nonce | a99fc4767f5d1bbcab3a6ff84184a5bc19d46dee6f1a478f40baec968baa3738 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTcwOjE2MTMyMDoxMTRBRTk6MTcwRUU2OjZCMDE4NEM4IiwidmlzaXRvcl9pZCI6Ijg0Nzc1NTc5MjU1NDY2NTY5NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aa83b78dd4f401bfe0d9d024773bc8823cfeb23aa19824bb1a16db12e13a6448 |
| hovercard-subject-tag | issue:2077751234 |
| 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/microsoft/TypeScript/57030/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dbaa32d4f0a1ad2fa5a30c9b267df4a2025c7ad3ada74ede055bf3e78c94f2e4/microsoft/TypeScript/issues/57030 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dbaa32d4f0a1ad2fa5a30c9b267df4a2025c7ad3ada74ede055bf3e78c94f2e4/microsoft/TypeScript/issues/57030 |
| og:image:alt | 🔎 Search Terms organizeImports 🕗 Version & Regression Information I was unable to test this on prior versions because this seems to be a tooling issue. ⏯ Playground Link No response 💻 Code import {... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iteriani |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width