{"action":"created","issue":{"url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/936","repository_url":"https://api.github.com/repos/Dart-Code/Dart-Code","labels_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/936/comments","events_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/936/events","html_url":"https://github.com/Dart-Code/Dart-Code/issues/936","id":325830691,"node_id":"MDU6SXNzdWUzMjU4MzA2OTE=","number":936,"title":"Add Flutter specific actions to the TouchBar on a mac","user":{"login":"franzsilva","id":5158380,"node_id":"MDQ6VXNlcjUxNTgzODA=","avatar_url":"https://avatars1.githubusercontent.com/u/5158380?v=4","gravatar_id":"","url":"https://api.github.com/users/franzsilva","html_url":"https://github.com/franzsilva","followers_url":"https://api.github.com/users/franzsilva/followers","following_url":"https://api.github.com/users/franzsilva/following{/other_user}","gists_url":"https://api.github.com/users/franzsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/franzsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franzsilva/subscriptions","organizations_url":"https://api.github.com/users/franzsilva/orgs","repos_url":"https://api.github.com/users/franzsilva/repos","events_url":"https://api.github.com/users/franzsilva/events{/privacy}","received_events_url":"https://api.github.com/users/franzsilva/received_events","type":"User","site_admin":false},"labels":[{"id":416693370,"node_id":"MDU6TGFiZWw0MTY2OTMzNzA=","url":"https://api.github.com/repos/Dart-Code/Dart-Code/labels/is%20enhancement","name":"is enhancement","color":"5319e7","default":false},{"id":837109622,"node_id":"MDU6TGFiZWw4MzcxMDk2MjI=","url":"https://api.github.com/repos/Dart-Code/Dart-Code/labels/on%20mac","name":"on mac","color":"98fc25","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Dart-Code/Dart-Code/milestones/56","html_url":"https://github.com/Dart-Code/Dart-Code/milestone/56","labels_url":"https://api.github.com/repos/Dart-Code/Dart-Code/milestones/56/labels","id":3075537,"node_id":"MDk6TWlsZXN0b25lMzA3NTUzNw==","number":56,"title":"On Deck","description":"","creator":{"login":"DanTup","id":1078012,"node_id":"MDQ6VXNlcjEwNzgwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":0,"state":"open","created_at":"2018-01-30T17:06:57Z","updated_at":"2018-05-30T09:01:56Z","due_on":"2019-01-01T08:00:00Z","closed_at":null},"comments":3,"created_at":"2018-05-23T18:52:10Z","updated_at":"2018-05-30T19:50:51Z","closed_at":null,"author_association":"NONE","body":"I think it would be an interesting feature for Mac users that use the touchbar to have Flutter actions that can be fired from the Touch Bar. Vs Code has the feature implemented since September last year. All we would need to do is add the icons and the commands it would run. \r\n\r\nFrom the top of my head I could think of these options. \r\n\r\nWhile not debugging:\r\n\r\n- flutter doctor (Doctor icon)\r\n- open pub spec\r\n\r\nWhile Debugging:\r\n\r\n- Reload\r\n- Hot reload\r\n- Switch platform\r\n- Performance overlay\r\n\r\n\r\nI would be happy to implement this feature and create a pull request. Its not a hard task just define how it would work.\r\n\r\nWhat do you think?\r\n\r\ncc @timsneath, @sethladd, @DanTup "},"comment":{"url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/comments/393295040","html_url":"https://github.com/Dart-Code/Dart-Code/issues/936#issuecomment-393295040","issue_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/936","id":393295040,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzI5NTA0MA==","user":{"login":"DanTup","id":1078012,"node_id":"MDQ6VXNlcjEwNzgwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T19:50:51Z","updated_at":"2018-05-30T19:50:51Z","author_association":"MEMBER","body":"@franzsilva We have a context for when you're in a flutter project, so the definition for the `Hot Reload` command in `package.json` looks like this:\r\n\r\n```js\r\n{\r\n\t\"command\": \"flutter.hotRestart\",\r\n\t\"when\": \"dart-code:flutterProjectLoaded && inDebugMode\",\r\n\t\"key\": \"ctrl+f5\"\r\n}\r\n```"}}
{"actor":{"display_login":"DanTup"}}