{"action":"created","issue":{"url":"https://api.github.com/repos/scalameta/language-server/issues/100","repository_url":"https://api.github.com/repos/scalameta/language-server","labels_url":"https://api.github.com/repos/scalameta/language-server/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/scalameta/language-server/issues/100/comments","events_url":"https://api.github.com/repos/scalameta/language-server/issues/100/events","html_url":"https://github.com/scalameta/language-server/pull/100","id":280466584,"number":100,"title":"Produce a stream of semanticdbs as you type","user":{"login":"gabro","id":691940,"avatar_url":"https://avatars0.githubusercontent.com/u/691940?v=4","gravatar_id":"","url":"https://api.github.com/users/gabro","html_url":"https://github.com/gabro","followers_url":"https://api.github.com/users/gabro/followers","following_url":"https://api.github.com/users/gabro/following{/other_user}","gists_url":"https://api.github.com/users/gabro/gists{/gist_id}","starred_url":"https://api.github.com/users/gabro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabro/subscriptions","organizations_url":"https://api.github.com/users/gabro/orgs","repos_url":"https://api.github.com/users/gabro/repos","events_url":"https://api.github.com/users/gabro/events{/privacy}","received_events_url":"https://api.github.com/users/gabro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-08T11:57:26Z","updated_at":"2017-12-08T17:48:36Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/scalameta/language-server/pulls/100","html_url":"https://github.com/scalameta/language-server/pull/100","diff_url":"https://github.com/scalameta/language-server/pull/100.diff","patch_url":"https://github.com/scalameta/language-server/pull/100.patch"},"body":"This PR uses the new `InteractiveSemanticdb` facility (introduced by Scalameta 2.1.3) to produce an `Observable` of semantic dbs as you type.\r\nThis `Observable` is merged with the file system one (fed by semanticdb files written on disk by `semanticdb-scalac`).\r\n\r\nThe net result is that now Scalafix runs also as you type. Demo:\r\n\r\n![](http://g.recordit.co/68Jn0fS6kQ.gif)\r\n\r\nI think it still needs some polishing (sometimes the PC dies in an unexpected way, causing an exception to be thrown and the Observable to die) and ideally some tests."},"comment":{"url":"https://api.github.com/repos/scalameta/language-server/issues/comments/350327067","html_url":"https://github.com/scalameta/language-server/pull/100#issuecomment-350327067","issue_url":"https://api.github.com/repos/scalameta/language-server/issues/100","id":350327067,"user":{"login":"gabro","id":691940,"avatar_url":"https://avatars0.githubusercontent.com/u/691940?v=4","gravatar_id":"","url":"https://api.github.com/users/gabro","html_url":"https://github.com/gabro","followers_url":"https://api.github.com/users/gabro/followers","following_url":"https://api.github.com/users/gabro/following{/other_user}","gists_url":"https://api.github.com/users/gabro/gists{/gist_id}","starred_url":"https://api.github.com/users/gabro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabro/subscriptions","organizations_url":"https://api.github.com/users/gabro/orgs","repos_url":"https://api.github.com/users/gabro/repos","events_url":"https://api.github.com/users/gabro/events{/privacy}","received_events_url":"https://api.github.com/users/gabro/received_events","type":"User","site_admin":false},"created_at":"2017-12-08T17:48:36Z","updated_at":"2017-12-08T17:48:36Z","author_association":"COLLABORATOR","body":"I have added `ErrorReporter` which transforms the \"messages\" section of the semanticdb into a lsp `Diagnostic`. This works both for errors and warnings:\r\n\r\n![](http://recordit.co/jPmdCdAyZQ)"}}
{"actor":{"display_login":"gabro"}}