{"action":"created","issue":{"url":"https://api.github.com/repos/w0rp/ale/issues/1283","repository_url":"https://api.github.com/repos/w0rp/ale","labels_url":"https://api.github.com/repos/w0rp/ale/issues/1283/labels{/name}","comments_url":"https://api.github.com/repos/w0rp/ale/issues/1283/comments","events_url":"https://api.github.com/repos/w0rp/ale/issues/1283/events","html_url":"https://github.com/w0rp/ale/issues/1283","id":288303572,"node_id":"MDU6SXNzdWUyODgzMDM1NzI=","number":1283,"title":"Scala support with SBT","user":{"login":"Ophirr33","id":15920577,"node_id":"MDQ6VXNlcjE1OTIwNTc3","avatar_url":"https://avatars2.githubusercontent.com/u/15920577?v=4","gravatar_id":"","url":"https://api.github.com/users/Ophirr33","html_url":"https://github.com/Ophirr33","followers_url":"https://api.github.com/users/Ophirr33/followers","following_url":"https://api.github.com/users/Ophirr33/following{/other_user}","gists_url":"https://api.github.com/users/Ophirr33/gists{/gist_id}","starred_url":"https://api.github.com/users/Ophirr33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ophirr33/subscriptions","organizations_url":"https://api.github.com/users/Ophirr33/orgs","repos_url":"https://api.github.com/users/Ophirr33/repos","events_url":"https://api.github.com/users/Ophirr33/events{/privacy}","received_events_url":"https://api.github.com/users/Ophirr33/received_events","type":"User","site_admin":false},"labels":[{"id":454214890,"node_id":"MDU6TGFiZWw0NTQyMTQ4OTA=","url":"https://api.github.com/repos/w0rp/ale/labels/new%20linter","name":"new linter","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-13T05:09:30Z","updated_at":"2018-08-13T12:33:48Z","closed_at":null,"author_association":"NONE","body":"It'd be nice if Scala projects could be linted by SBT, as currently the scalac checker basically just checks syntax. SBT recently [announced support](https://developer.lightbend.com/blog/2017-11-30-sbt-1-1-0-RC1-sbt-server/) for the language server protocol, so maybe that could be leveraged to help integrating with it?\r\n\r\nI'd be willing to do some leg work on this if I can get some general pointers on how to go about it."},"comment":{"url":"https://api.github.com/repos/w0rp/ale/issues/comments/412502521","html_url":"https://github.com/w0rp/ale/issues/1283#issuecomment-412502521","issue_url":"https://api.github.com/repos/w0rp/ale/issues/1283","id":412502521,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjUwMjUyMQ==","user":{"login":"TK009","id":5631450,"node_id":"MDQ6VXNlcjU2MzE0NTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5631450?v=4","gravatar_id":"","url":"https://api.github.com/users/TK009","html_url":"https://github.com/TK009","followers_url":"https://api.github.com/users/TK009/followers","following_url":"https://api.github.com/users/TK009/following{/other_user}","gists_url":"https://api.github.com/users/TK009/gists{/gist_id}","starred_url":"https://api.github.com/users/TK009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TK009/subscriptions","organizations_url":"https://api.github.com/users/TK009/orgs","repos_url":"https://api.github.com/users/TK009/repos","events_url":"https://api.github.com/users/TK009/events{/privacy}","received_events_url":"https://api.github.com/users/TK009/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T12:33:48Z","updated_at":"2018-08-13T12:33:48Z","author_association":"NONE","body":"@Ophirr33 Are you still working on this?\r\n\r\nI tried this but didn't get it to work. Here is some documentation about sbt language server protocol: https://www.scala-sbt.org/1.x/docs/sbt-server.html\r\n\r\nThere seems to be two different modes\r\n* Unix domain socket (on windows: named pipe)\r\n* TCP socket\r\n\r\nThe first mode is the default in sbt 1.1.x and a bit simpler. It's the default mode and doesn't require token authentication, but [`ch_open`](https://github.com/vim/vim/blob/master/src/channel.c#L655) doesn't seem to have implementation for Unix domain sockets. Is there a way to connect to unix domain sockets in ALE/vim?\r\n\r\nThe TCP mode can be activated by setting `serverConnectionType` to `ConnectionType.Tcp` and seems to require an authentication token in `initializationOptions` which can be read from a file. \r\n\r\nI would be happy to help with this, but I'm quite beginner with vimscript and vim plugins, so I appreciate if someone can help or give me pointers."}}
{"actor":{"display_login":"TK009"}}