{"action":"created","comment":{"url":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments/54447556","id":54447556,"diff_hunk":"@@ -0,0 +1,121 @@\n+import 'dart:async';\n+\n+import 'package:atom/node/fs.dart';\n+import 'package:atom/node/process.dart';\n+import 'package:logging/logging.dart';\n+\n+import '../atom.dart';\n+import '../launch/launch.dart';\n+import '../projects.dart';\n+import '../state.dart';\n+\n+final Logger _logger = new Logger('atom.dartino_launch');\n+\n+class DartinoLaunchType extends LaunchType {\n+  static void register(LaunchManager manager) =>\n+      manager.registerLaunchType(new DartinoLaunchType());\n+\n+  DartinoLaunch _lastLaunch;\n+\n+  DartinoLaunchType() : super('dartino');\n+\n+  bool canLaunch(String path) {\n+    DartProject project = projectManager.getProjectFor(path);\n+    if (project == null || !project.isDartinoProject()) return false;\n+    if (!analysisServer.isExecutable(path)) return false;\n+    return true;\n+  }\n+\n+  List<String> getLaunchablesFor(DartProject project) {","path":"lib/dartino/launch_dartino.dart","position":29,"original_position":29,"commit_id":"142754db7411cbd55873a1944e88234aeea93e2e","original_commit_id":"142754db7411cbd55873a1944e88234aeea93e2e","user":{"login":"danrubel","id":2891888,"avatar_url":"https://avatars.githubusercontent.com/u/2891888?v=3","gravatar_id":"","url":"https://api.github.com/users/danrubel","html_url":"https://github.com/danrubel","followers_url":"https://api.github.com/users/danrubel/followers","following_url":"https://api.github.com/users/danrubel/following{/other_user}","gists_url":"https://api.github.com/users/danrubel/gists{/gist_id}","starred_url":"https://api.github.com/users/danrubel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrubel/subscriptions","organizations_url":"https://api.github.com/users/danrubel/orgs","repos_url":"https://api.github.com/users/danrubel/repos","events_url":"https://api.github.com/users/danrubel/events{/privacy}","received_events_url":"https://api.github.com/users/danrubel/received_events","type":"User","site_admin":false},"body":"Yes it will ... see note 10 lines below. This is temporary until I can add support to analysis server. Returning all the files is not an issue at this point because Dartino projects are small. Will update this method once analysis server has the appropriate support for Dartino.","created_at":"2016-02-29T17:47:50Z","updated_at":"2016-02-29T17:47:50Z","html_url":"https://github.com/dart-atom/dartlang/pull/815#discussion_r54447556","pull_request_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/815","_links":{"self":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments/54447556"},"html":{"href":"https://github.com/dart-atom/dartlang/pull/815#discussion_r54447556"},"pull_request":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/815"}}},"pull_request":{"url":"https://api.github.com/repos/dart-atom/dartlang/pulls/815","id":61104333,"html_url":"https://github.com/dart-atom/dartlang/pull/815","diff_url":"https://github.com/dart-atom/dartlang/pull/815.diff","patch_url":"https://github.com/dart-atom/dartlang/pull/815.patch","issue_url":"https://api.github.com/repos/dart-atom/dartlang/issues/815","number":815,"state":"open","locked":false,"title":"add Dartino launch type to Atom","user":{"login":"danrubel","id":2891888,"avatar_url":"https://avatars.githubusercontent.com/u/2891888?v=3","gravatar_id":"","url":"https://api.github.com/users/danrubel","html_url":"https://github.com/danrubel","followers_url":"https://api.github.com/users/danrubel/followers","following_url":"https://api.github.com/users/danrubel/following{/other_user}","gists_url":"https://api.github.com/users/danrubel/gists{/gist_id}","starred_url":"https://api.github.com/users/danrubel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrubel/subscriptions","organizations_url":"https://api.github.com/users/danrubel/orgs","repos_url":"https://api.github.com/users/danrubel/repos","events_url":"https://api.github.com/users/danrubel/events{/privacy}","received_events_url":"https://api.github.com/users/danrubel/received_events","type":"User","site_admin":false},"body":"@devoncarew ","created_at":"2016-02-29T16:30:11Z","updated_at":"2016-02-29T17:47:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1d288a05d936a60d4ea1dc84639e895c005955c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/815/commits","review_comments_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/815/comments","review_comment_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-atom/dartlang/issues/815/comments","statuses_url":"https://api.github.com/repos/dart-atom/dartlang/statuses/142754db7411cbd55873a1944e88234aeea93e2e","head":{"label":"dart-atom:dartino-launch-type","ref":"dartino-launch-type","sha":"142754db7411cbd55873a1944e88234aeea93e2e","user":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"repo":{"id":38737233,"name":"dartlang","full_name":"dart-atom/dartlang","owner":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-atom/dartlang","description":"A Dart plugin for Atom.","fork":false,"url":"https://api.github.com/repos/dart-atom/dartlang","forks_url":"https://api.github.com/repos/dart-atom/dartlang/forks","keys_url":"https://api.github.com/repos/dart-atom/dartlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-atom/dartlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-atom/dartlang/teams","hooks_url":"https://api.github.com/repos/dart-atom/dartlang/hooks","issue_events_url":"https://api.github.com/repos/dart-atom/dartlang/issues/events{/number}","events_url":"https://api.github.com/repos/dart-atom/dartlang/events","assignees_url":"https://api.github.com/repos/dart-atom/dartlang/assignees{/user}","branches_url":"https://api.github.com/repos/dart-atom/dartlang/branches{/branch}","tags_url":"https://api.github.com/repos/dart-atom/dartlang/tags","blobs_url":"https://api.github.com/repos/dart-atom/dartlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-atom/dartlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-atom/dartlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-atom/dartlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-atom/dartlang/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-atom/dartlang/languages","stargazers_url":"https://api.github.com/repos/dart-atom/dartlang/stargazers","contributors_url":"https://api.github.com/repos/dart-atom/dartlang/contributors","subscribers_url":"https://api.github.com/repos/dart-atom/dartlang/subscribers","subscription_url":"https://api.github.com/repos/dart-atom/dartlang/subscription","commits_url":"https://api.github.com/repos/dart-atom/dartlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-atom/dartlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-atom/dartlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-atom/dartlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-atom/dartlang/contents/{+path}","compare_url":"https://api.github.com/repos/dart-atom/dartlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-atom/dartlang/merges","archive_url":"https://api.github.com/repos/dart-atom/dartlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-atom/dartlang/downloads","issues_url":"https://api.github.com/repos/dart-atom/dartlang/issues{/number}","pulls_url":"https://api.github.com/repos/dart-atom/dartlang/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-atom/dartlang/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-atom/dartlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-atom/dartlang/labels{/name}","releases_url":"https://api.github.com/repos/dart-atom/dartlang/releases{/id}","deployments_url":"https://api.github.com/repos/dart-atom/dartlang/deployments","created_at":"2015-07-08T06:49:44Z","updated_at":"2016-02-29T17:22:06Z","pushed_at":"2016-02-29T17:35:19Z","git_url":"git://github.com/dart-atom/dartlang.git","ssh_url":"git@github.com:dart-atom/dartlang.git","clone_url":"https://github.com/dart-atom/dartlang.git","svn_url":"https://github.com/dart-atom/dartlang","homepage":"http://dart-atom.github.io/dartlang/","size":22407,"stargazers_count":79,"watchers_count":79,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":149,"forks":16,"open_issues":149,"watchers":79,"default_branch":"master"}},"base":{"label":"dart-atom:master","ref":"master","sha":"4b490e2d91011eac6315156764dfcbb092add239","user":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"repo":{"id":38737233,"name":"dartlang","full_name":"dart-atom/dartlang","owner":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-atom/dartlang","description":"A Dart plugin for Atom.","fork":false,"url":"https://api.github.com/repos/dart-atom/dartlang","forks_url":"https://api.github.com/repos/dart-atom/dartlang/forks","keys_url":"https://api.github.com/repos/dart-atom/dartlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-atom/dartlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-atom/dartlang/teams","hooks_url":"https://api.github.com/repos/dart-atom/dartlang/hooks","issue_events_url":"https://api.github.com/repos/dart-atom/dartlang/issues/events{/number}","events_url":"https://api.github.com/repos/dart-atom/dartlang/events","assignees_url":"https://api.github.com/repos/dart-atom/dartlang/assignees{/user}","branches_url":"https://api.github.com/repos/dart-atom/dartlang/branches{/branch}","tags_url":"https://api.github.com/repos/dart-atom/dartlang/tags","blobs_url":"https://api.github.com/repos/dart-atom/dartlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-atom/dartlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-atom/dartlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-atom/dartlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-atom/dartlang/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-atom/dartlang/languages","stargazers_url":"https://api.github.com/repos/dart-atom/dartlang/stargazers","contributors_url":"https://api.github.com/repos/dart-atom/dartlang/contributors","subscribers_url":"https://api.github.com/repos/dart-atom/dartlang/subscribers","subscription_url":"https://api.github.com/repos/dart-atom/dartlang/subscription","commits_url":"https://api.github.com/repos/dart-atom/dartlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-atom/dartlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-atom/dartlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-atom/dartlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-atom/dartlang/contents/{+path}","compare_url":"https://api.github.com/repos/dart-atom/dartlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-atom/dartlang/merges","archive_url":"https://api.github.com/repos/dart-atom/dartlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-atom/dartlang/downloads","issues_url":"https://api.github.com/repos/dart-atom/dartlang/issues{/number}","pulls_url":"https://api.github.com/repos/dart-atom/dartlang/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-atom/dartlang/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-atom/dartlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-atom/dartlang/labels{/name}","releases_url":"https://api.github.com/repos/dart-atom/dartlang/releases{/id}","deployments_url":"https://api.github.com/repos/dart-atom/dartlang/deployments","created_at":"2015-07-08T06:49:44Z","updated_at":"2016-02-29T17:22:06Z","pushed_at":"2016-02-29T17:35:19Z","git_url":"git://github.com/dart-atom/dartlang.git","ssh_url":"git@github.com:dart-atom/dartlang.git","clone_url":"https://github.com/dart-atom/dartlang.git","svn_url":"https://github.com/dart-atom/dartlang","homepage":"http://dart-atom.github.io/dartlang/","size":22407,"stargazers_count":79,"watchers_count":79,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"open_issues_count":149,"forks":16,"open_issues":149,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/815"},"html":{"href":"https://github.com/dart-atom/dartlang/pull/815"},"issue":{"href":"https://api.github.com/repos/dart-atom/dartlang/issues/815"},"comments":{"href":"https://api.github.com/repos/dart-atom/dartlang/issues/815/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/815/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/815/commits"},"statuses":{"href":"https://api.github.com/repos/dart-atom/dartlang/statuses/142754db7411cbd55873a1944e88234aeea93e2e"}}}}