{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter-intellij/issues/443","repository_url":"https://api.github.com/repos/flutter/flutter-intellij","labels_url":"https://api.github.com/repos/flutter/flutter-intellij/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter-intellij/issues/443/comments","events_url":"https://api.github.com/repos/flutter/flutter-intellij/issues/443/events","html_url":"https://github.com/flutter/flutter-intellij/issues/443","id":189448553,"number":443,"title":"Editor Wish: simplify adding a single-child parent Widget","user":{"login":"mit-mit","id":13644170,"avatar_url":"https://avatars.githubusercontent.com/u/13644170?v=3","gravatar_id":"","url":"https://api.github.com/users/mit-mit","html_url":"https://github.com/mit-mit","followers_url":"https://api.github.com/users/mit-mit/followers","following_url":"https://api.github.com/users/mit-mit/following{/other_user}","gists_url":"https://api.github.com/users/mit-mit/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-mit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-mit/subscriptions","organizations_url":"https://api.github.com/users/mit-mit/orgs","repos_url":"https://api.github.com/users/mit-mit/repos","events_url":"https://api.github.com/users/mit-mit/events{/privacy}","received_events_url":"https://api.github.com/users/mit-mit/received_events","type":"User","site_admin":false},"labels":[{"id":482188267,"url":"https://api.github.com/repos/flutter/flutter-intellij/labels/affects:%20dev%20experience","name":"affects: dev experience","color":"ededed","default":false},{"id":482188268,"url":"https://api.github.com/repos/flutter/flutter-intellij/labels/affects:%20jetbrains-plugin","name":"affects: jetbrains-plugin","color":"ededed","default":false},{"id":482188269,"url":"https://api.github.com/repos/flutter/flutter-intellij/labels/%E2%9A%A0%20brand%20new%20feature","name":"⚠ brand new feature","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-15T17:00:34Z","updated_at":"2016-11-15T17:00:35Z","closed_at":null,"body":"_From @HansMuller on February 19, 2016 0:13_\n\nThis comes up all the time as one realizes that a widget needs padding, or a border, or a background, etc.\n\nSay I start with this:\n\n```\n  return new Foo(\n    child: new Column(\n      justifyContent: FlexJustifyContent.start,\n      children: <Widget>[\n        ...\n      ]\n    )\n  );\n```\n\nand I want to end up with this:\n\n```\nreturn new Foo(\n  child: new Padding(\n    padding: const EdgeDims.all(16.0),\n    child: new Column(\n      justifyContent: FlexJustifyContent.start,\n      children: <Widget>[\n        ...\n      ]\n    )\n  )\n);\n```\n\nI'd like to be able to put the cursor inside the Column(), press a magic key to get:\n\n```\nreturn new Foo(\n  child: new TBD(\n    child: new Column(\n      justifyContent: FlexJustifyContent.start,\n      children: <Widget>[\n        ...\n      ]\n    )\n  )\n);\n```\n\nwhich is easily finished by changing TBD to Padding and add the padding: parameter.\n\n\n_Copied from original issue: flutter/flutter#2016_"},"comment":{"url":"https://api.github.com/repos/flutter/flutter-intellij/issues/comments/260700385","html_url":"https://github.com/flutter/flutter-intellij/issues/443#issuecomment-260700385","issue_url":"https://api.github.com/repos/flutter/flutter-intellij/issues/443","id":260700385,"user":{"login":"mit-mit","id":13644170,"avatar_url":"https://avatars.githubusercontent.com/u/13644170?v=3","gravatar_id":"","url":"https://api.github.com/users/mit-mit","html_url":"https://github.com/mit-mit","followers_url":"https://api.github.com/users/mit-mit/followers","following_url":"https://api.github.com/users/mit-mit/following{/other_user}","gists_url":"https://api.github.com/users/mit-mit/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-mit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-mit/subscriptions","organizations_url":"https://api.github.com/users/mit-mit/orgs","repos_url":"https://api.github.com/users/mit-mit/repos","events_url":"https://api.github.com/users/mit-mit/events{/privacy}","received_events_url":"https://api.github.com/users/mit-mit/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T17:00:34Z","updated_at":"2016-11-15T17:00:34Z","body":"_From @sethladd on February 19, 2016 0:18_\n\n@pq will the analyzer plugins allow us to add Quick Fixes? If so, we should be able to do this fairly straight forwardly, yes?\r\n\r\ncc @scheglov @kevmoo for ideas, too"}}
{"actor":{"display_login":"mit-mit"}}