{"action":"opened","issue":{"url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/161","repository_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools","labels_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/161/comments","events_url":"https://api.github.com/repos/vector-of-bool/vscode-cmake-tools/issues/161/events","html_url":"https://github.com/vector-of-bool/vscode-cmake-tools/issues/161","id":233459082,"number":161,"title":"Better diagnostics instead of command 'cmake.*' not found","user":{"login":"ytimenkov","id":7413219,"avatar_url":"https://avatars0.githubusercontent.com/u/7413219?v=3","gravatar_id":"","url":"https://api.github.com/users/ytimenkov","html_url":"https://github.com/ytimenkov","followers_url":"https://api.github.com/users/ytimenkov/followers","following_url":"https://api.github.com/users/ytimenkov/following{/other_user}","gists_url":"https://api.github.com/users/ytimenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/ytimenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytimenkov/subscriptions","organizations_url":"https://api.github.com/users/ytimenkov/orgs","repos_url":"https://api.github.com/users/ytimenkov/repos","events_url":"https://api.github.com/users/ytimenkov/events{/privacy}","received_events_url":"https://api.github.com/users/ytimenkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-04T20:52:20Z","updated_at":"2017-06-04T20:52:20Z","closed_at":null,"body":"I've got some time I could contribute to improving this nice extension.\r\nAfter looking at questions on stack overflow I think now would be beneficial if cmake-tools could provide better diagnostics, especially with new CMake server mode.\r\nLooking at the code I'd like to do something like this:\r\n 1. Refactor CMakeToolsWrapper to be always present and implement commands registration.\r\n 1. Add logging to some of output windows.\r\n\r\nSo from user perspective if the extension can not be initialized for some reason, a sane error message is shown (like 'The CMake Tools extension failed to initialize, please see logs for details) for any command, with logs really providing helpful information.\r\n\r\nPlease let me know if it something useful or you have different ideas/progress in this direction (or if there other ways to help)."}}
{"actor":{"display_login":"ytimenkov"}}