{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/614","repository_url":"https://api.github.com/repos/Microsoft/language-server-protocol","labels_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/614/comments","events_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/614/events","html_url":"https://github.com/Microsoft/language-server-protocol/issues/614","id":384278710,"node_id":"MDU6SXNzdWUzODQyNzg3MTA=","number":614,"title":"How do I inform a client which file types my server cares about edits for?","user":{"login":"DanTup","id":1078012,"node_id":"MDQ6VXNlcjEwNzgwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-26T11:03:19Z","updated_at":"2018-12-11T15:03:06Z","closed_at":"2018-11-27T12:31:16Z","author_association":"NONE","body":"I can't find any way to inform the client which file types my server cares about. There's no point it sending edits (`textDocument/didChange`) for JavaScript and CSS files since my server won't do anything with them.  I can filter them out on the server but it seems wasteful.\r\n\r\nI found that there's a `DocumentSelector` interface in the spec, but it only seems to be used in `TextDocumentRegistrationOptions` which only seems to be valid in certain capabilities (and not one relating to file edits)?"},"comment":{"url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/comments/446233728","html_url":"https://github.com/Microsoft/language-server-protocol/issues/614#issuecomment-446233728","issue_url":"https://api.github.com/repos/Microsoft/language-server-protocol/issues/614","id":446233728,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjIzMzcyOA==","user":{"login":"DanTup","id":1078012,"node_id":"MDQ6VXNlcjEwNzgwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T15:03:06Z","updated_at":"2018-12-11T15:03:06Z","author_association":"NONE","body":"Ah, that might be better, having it in the server. I'll make a note to have a look later - thanks!"}}
{"actor":{"display_login":"DanTup"}}