{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/che/issues/5365","repository_url":"https://api.github.com/repos/eclipse/che","labels_url":"https://api.github.com/repos/eclipse/che/issues/5365/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/che/issues/5365/comments","events_url":"https://api.github.com/repos/eclipse/che/issues/5365/events","html_url":"https://github.com/eclipse/che/issues/5365","id":235549731,"number":5365,"title":"Improve JSON language server","user":{"login":"Ohrimenko1988","id":22724619,"avatar_url":"https://avatars1.githubusercontent.com/u/22724619?v=4","gravatar_id":"","url":"https://api.github.com/users/Ohrimenko1988","html_url":"https://github.com/Ohrimenko1988","followers_url":"https://api.github.com/users/Ohrimenko1988/followers","following_url":"https://api.github.com/users/Ohrimenko1988/following{/other_user}","gists_url":"https://api.github.com/users/Ohrimenko1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Ohrimenko1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ohrimenko1988/subscriptions","organizations_url":"https://api.github.com/users/Ohrimenko1988/orgs","repos_url":"https://api.github.com/users/Ohrimenko1988/repos","events_url":"https://api.github.com/users/Ohrimenko1988/events{/privacy}","received_events_url":"https://api.github.com/users/Ohrimenko1988/received_events","type":"User","site_admin":false},"labels":[{"id":192367928,"url":"https://api.github.com/repos/eclipse/che/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-13T13:14:12Z","updated_at":"2017-08-31T02:03:19Z","closed_at":null,"author_association":"NONE","body":"We need to improve JSON language server autocomplete because we have wrong behavior.\r\n\r\nSteps to reproduce:\r\n- Go to the workspace with launched JSON language server\r\n- Create C# project with JSON file\r\n- Open JSON file\r\n- Launch autocomplete (Ctrl + Space) in the places like in the attachment\r\n- Pay attention to result \r\n\r\n**Expected behavior**\r\nAutocomplete will be provided pieces of the code \r\n\r\n**Observed behavior**\r\nAutocomplete does not provide the pieces of the code\r\n\r\n**Attacment**\r\n\r\n![anim](https://user-images.githubusercontent.com/22724619/27084014-1153c3fa-5053-11e7-9b2b-a4cf6394acc0.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/che/issues/comments/326168191","html_url":"https://github.com/eclipse/che/issues/5365#issuecomment-326168191","issue_url":"https://api.github.com/repos/eclipse/che/issues/5365","id":326168191,"user":{"login":"rcjsuen","id":15629116,"avatar_url":"https://avatars2.githubusercontent.com/u/15629116?v=4","gravatar_id":"","url":"https://api.github.com/users/rcjsuen","html_url":"https://github.com/rcjsuen","followers_url":"https://api.github.com/users/rcjsuen/followers","following_url":"https://api.github.com/users/rcjsuen/following{/other_user}","gists_url":"https://api.github.com/users/rcjsuen/gists{/gist_id}","starred_url":"https://api.github.com/users/rcjsuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcjsuen/subscriptions","organizations_url":"https://api.github.com/users/rcjsuen/orgs","repos_url":"https://api.github.com/users/rcjsuen/repos","events_url":"https://api.github.com/users/rcjsuen/events{/privacy}","received_events_url":"https://api.github.com/users/rcjsuen/received_events","type":"User","site_admin":false},"created_at":"2017-08-31T02:03:19Z","updated_at":"2017-08-31T02:03:19Z","author_association":"MEMBER","body":"Alternatively, Che needs to make it clear that it doesn't support snippets when it sends the initialization request to the server. The server will then know that the client doesn't support snippets and won't bother sending back completion items with tab stops in them..\r\n\r\nPlease refer to `completion.completionItem.snippetSupport` in `TextDocumentClientCapabilities` in the [protocol](https://github.com/Microsoft/language-server-protocol/blob/e1ecd6a23a80735a1a7dc2abe3b684a7032e651e/protocol.md#initialize)."}}
{"actor":{"display_login":"rcjsuen"}}