{"action":"created","issue":{"url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/55","repository_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier","labels_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/55/comments","events_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/55/events","html_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/55","id":248206303,"number":55,"title":"Show prettier errors as phantoms within code if supported and enabled","user":{"login":"philippotto","id":2486553,"avatar_url":"https://avatars3.githubusercontent.com/u/2486553?v=4","gravatar_id":"","url":"https://api.github.com/users/philippotto","html_url":"https://github.com/philippotto","followers_url":"https://api.github.com/users/philippotto/followers","following_url":"https://api.github.com/users/philippotto/following{/other_user}","gists_url":"https://api.github.com/users/philippotto/gists{/gist_id}","starred_url":"https://api.github.com/users/philippotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippotto/subscriptions","organizations_url":"https://api.github.com/users/philippotto/orgs","repos_url":"https://api.github.com/users/philippotto/repos","events_url":"https://api.github.com/users/philippotto/events{/privacy}","received_events_url":"https://api.github.com/users/philippotto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-05T20:04:28Z","updated_at":"2017-08-12T10:59:50Z","closed_at":"2017-08-12T10:59:50Z","pull_request":{"url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/pulls/55","html_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/55","diff_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/55.diff","patch_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/55.patch"},"body":"I noticed that Prettier is quite fast at formatting and also at checking syntax (since it fails when the syntax is incorrect). Since it's way faster than linting for me, I thought it would be useful to get the error feedback a bit more prominent than in the status bar.\r\n\r\nNew sublime versions support \"phantoms\" which I used to implement this feature:\r\n\r\n![image](https://user-images.githubusercontent.com/2486553/28998380-d94db73a-7a29-11e7-884f-5e8e1a648f59.png)\r\n\r\nIf prettier is run and fails the output will be parsed and shown as a phantom. If the buffer is changed, the phantom will disappear.\r\nI made it optional and turned it off by default. However, I'd advocate to enable it by default :)"},"comment":{"url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/comments/321974166","html_url":"https://github.com/jonlabelle/SublimeJsPrettier/pull/55#issuecomment-321974166","issue_url":"https://api.github.com/repos/jonlabelle/SublimeJsPrettier/issues/55","id":321974166,"user":{"login":"jonlabelle","id":226837,"avatar_url":"https://avatars2.githubusercontent.com/u/226837?v=4","gravatar_id":"","url":"https://api.github.com/users/jonlabelle","html_url":"https://github.com/jonlabelle","followers_url":"https://api.github.com/users/jonlabelle/followers","following_url":"https://api.github.com/users/jonlabelle/following{/other_user}","gists_url":"https://api.github.com/users/jonlabelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonlabelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonlabelle/subscriptions","organizations_url":"https://api.github.com/users/jonlabelle/orgs","repos_url":"https://api.github.com/users/jonlabelle/repos","events_url":"https://api.github.com/users/jonlabelle/events{/privacy}","received_events_url":"https://api.github.com/users/jonlabelle/received_events","type":"User","site_admin":false},"created_at":"2017-08-12T10:59:50Z","updated_at":"2017-08-12T10:59:50Z","body":"Hi @philippotto. I like the idea, but would like to explore a solution that would leverage a combination of the gutters and the status bar; possibly a linting plug-in for [SublimeLinter](http://www.sublimelinter.com/en/latest/).\r\n\r\nIs this something you'd be interested in contributing?"}}
{"actor":{"display_login":"jonlabelle"}}