{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/79","repository_url":"https://api.github.com/repos/Microsoft/vscode-cordova","labels_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/79/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cordova/issues/79/events","html_url":"https://github.com/Microsoft/vscode-cordova/issues/79","id":144035618,"number":79,"title":"Using the Ionic command palette while not in an Ionic project gives an ugly error","user":{"login":"guillaumejenkins","id":14299377,"avatar_url":"https://avatars.githubusercontent.com/u/14299377?v=3","gravatar_id":"","url":"https://api.github.com/users/guillaumejenkins","html_url":"https://github.com/guillaumejenkins","followers_url":"https://api.github.com/users/guillaumejenkins/followers","following_url":"https://api.github.com/users/guillaumejenkins/following{/other_user}","gists_url":"https://api.github.com/users/guillaumejenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/guillaumejenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillaumejenkins/subscriptions","organizations_url":"https://api.github.com/users/guillaumejenkins/orgs","repos_url":"https://api.github.com/users/guillaumejenkins/repos","events_url":"https://api.github.com/users/guillaumejenkins/events{/privacy}","received_events_url":"https://api.github.com/users/guillaumejenkins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-28T17:42:44Z","updated_at":"2016-03-28T17:42:44Z","closed_at":null,"body":"If we open a folder that contains JS or TS files, our extension will get activated. If the folder was not a Cordova / an Ionic project, and we run Ionic commands from the Palette, we will see an ugly error message.\r\n\r\nWe should catch that error and print something more understandable."}}