{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/59912","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/59912/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/59912/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/59912/events","html_url":"https://github.com/Microsoft/vscode/issues/59912","id":366423729,"node_id":"MDU6SXNzdWUzNjY0MjM3Mjk=","number":59912,"title":"editor.codeActionsOnSave - source.organizeImports should respect import groups.","user":{"login":"wdspider","id":5971649,"node_id":"MDQ6VXNlcjU5NzE2NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/5971649?v=4","gravatar_id":"","url":"https://api.github.com/users/wdspider","html_url":"https://github.com/wdspider","followers_url":"https://api.github.com/users/wdspider/followers","following_url":"https://api.github.com/users/wdspider/following{/other_user}","gists_url":"https://api.github.com/users/wdspider/gists{/gist_id}","starred_url":"https://api.github.com/users/wdspider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdspider/subscriptions","organizations_url":"https://api.github.com/users/wdspider/orgs","repos_url":"https://api.github.com/users/wdspider/repos","events_url":"https://api.github.com/users/wdspider/events{/privacy}","received_events_url":"https://api.github.com/users/wdspider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T16:29:04Z","updated_at":"2018-10-03T16:29:10Z","closed_at":null,"author_association":"NONE","body":"While it's great that you can organize imports on save thanks to #46678, the feature should respect import groups rather than combining all of the import groups into one; particularly for those of us who like to keep 3rd party references separate from internal references.\r\n\r\n**Original:**\r\n```\r\nimport * as React from \"react\";\r\n\r\nimport { MarketingBase } from \"src/components/widgets/marketing/MarketingBase\";\r\nimport { MarketingSearchTermsDataTable } from \"src/components/widgets/marketing/datatables/SearchTermsDataTable\";\r\n```\r\n**Expected:**\r\n```\r\nimport * as React from \"react\";\r\n\r\nimport { MarketingSearchTermsDataTable } from \"src/components/widgets/marketing/datatables/SearchTermsDataTable\";\r\nimport { MarketingBase } from \"src/components/widgets/marketing/MarketingBase\";\r\n```\r\n**Actual:**\r\n```\r\nimport * as React from \"react\";\r\nimport { MarketingSearchTermsDataTable } from \"src/components/widgets/marketing/datatables/SearchTermsDataTable\";\r\nimport { MarketingBase } from \"src/components/widgets/marketing/MarketingBase\";\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/426703921","html_url":"https://github.com/Microsoft/vscode/issues/59912#issuecomment-426703921","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/59912","id":426703921,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjcwMzkyMQ==","user":{"login":"vscodebot[bot]","id":28792856,"node_id":"MDM6Qm90Mjg3OTI4NTY=","avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-03T16:29:10Z","updated_at":"2018-10-03T16:29:10Z","author_association":"NONE","body":"(Experimental duplicate detection)\nThanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n- [TSX React import defaults to \"import =\" syntax (#58832)](https://www.github.com/Microsoft/vscode/issues/58832) <!-- score: 0.637 -->\n- [Keeps opening all my files and imports node_modules from library cache (#54906)](https://www.github.com/Microsoft/vscode/issues/54906) <!-- score: 0.519 -->\n- [ Organize imports: exclude files via settings (#52087)](https://www.github.com/Microsoft/vscode/issues/52087) <!-- score: 0.489 -->\n- [Ctrl + . auto import erratically not working in TS 3.0.1 (#56332)](https://www.github.com/Microsoft/vscode/issues/56332) <!-- score: 0.474 -->\n- [CSS import: do not suggest own file to import (#57384)](https://www.github.com/Microsoft/vscode/issues/57384) <!-- score: 0.459 -->\n<!-- potential_duplicates_comment -->"}}
{"actor":{"display_login":"vscodebot"}}