{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/1790","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/1790/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/1790/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/1790/events","html_url":"https://github.com/Microsoft/vscode/issues/1790","id":124941618,"number":1790,"title":"Proposal: Add `Run Task` context menu to any `.js` file containing a `# task` pragma comment","user":{"login":"SetTrend","id":9283914,"avatar_url":"https://avatars.githubusercontent.com/u/9283914?v=3","gravatar_id":"","url":"https://api.github.com/users/SetTrend","html_url":"https://github.com/SetTrend","followers_url":"https://api.github.com/users/SetTrend/followers","following_url":"https://api.github.com/users/SetTrend/following{/other_user}","gists_url":"https://api.github.com/users/SetTrend/gists{/gist_id}","starred_url":"https://api.github.com/users/SetTrend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SetTrend/subscriptions","organizations_url":"https://api.github.com/users/SetTrend/orgs","repos_url":"https://api.github.com/users/SetTrend/repos","events_url":"https://api.github.com/users/SetTrend/events{/privacy}","received_events_url":"https://api.github.com/users/SetTrend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-05T10:53:06Z","updated_at":"2016-01-05T10:53:06Z","closed_at":null,"body":"In #1789 I suggested to add a `# task` pragma comment to precede task runner tasks so the IDE will be able to recognize task runner tasks.\r\n\r\n<br/>\r\nCurrently, running a task requires much typing.\r\n\r\nI suggest to add a context menu to Explorer for any `.js` file containing a `# task` pragma comment so tasks can easily be browsed for and a task can simply be started by two clicks:\r\n\r\n![run task](https://cloud.githubusercontent.com/assets/9283914/12098333/f1cc0666-b321-11e5-8f50-cfc10fae09db.png)\r\n\r\nThe tasks in the list should be alphabetically sorted and the first task name letter should be used for the mnemonic, so starting a task could be as easy as `CTXT, T, L` for \"less\" or `CTXT, T, T` for \"tsc\" in the above screen shot."}}