{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/63270","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/63270/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/63270/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/63270/events","html_url":"https://github.com/Microsoft/vscode/issues/63270","id":381439333,"node_id":"MDU6SXNzdWUzODE0MzkzMzM=","number":63270,"title":"Provide a way to stop built-in JSON language server auto completion item","user":{"login":"Sneezry","id":1621293,"node_id":"MDQ6VXNlcjE2MjEyOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1621293?v=4","gravatar_id":"","url":"https://api.github.com/users/Sneezry","html_url":"https://github.com/Sneezry","followers_url":"https://api.github.com/users/Sneezry/followers","following_url":"https://api.github.com/users/Sneezry/following{/other_user}","gists_url":"https://api.github.com/users/Sneezry/gists{/gist_id}","starred_url":"https://api.github.com/users/Sneezry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sneezry/subscriptions","organizations_url":"https://api.github.com/users/Sneezry/orgs","repos_url":"https://api.github.com/users/Sneezry/repos","events_url":"https://api.github.com/users/Sneezry/events{/privacy}","received_events_url":"https://api.github.com/users/Sneezry/received_events","type":"User","site_admin":false},"labels":[{"id":293417806,"node_id":"MDU6TGFiZWwyOTM0MTc4MDY=","url":"https://api.github.com/repos/Microsoft/vscode/labels/json","name":"json","color":"1d76db","default":false},{"id":578047123,"node_id":"MDU6TGFiZWw1NzgwNDcxMjM=","url":"https://api.github.com/repos/Microsoft/vscode/labels/under-discussion","name":"under-discussion","color":"dcdcdc","default":false}],"state":"open","locked":false,"assignee":{"login":"aeschli","id":6461412,"node_id":"MDQ6VXNlcjY0NjE0MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6461412?v=4","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"assignees":[{"login":"aeschli","id":6461412,"node_id":"MDQ6VXNlcjY0NjE0MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6461412?v=4","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-11-16T04:14:03Z","updated_at":"2018-12-10T07:16:20Z","closed_at":null,"author_association":"NONE","body":"I'm writing a JSON-LD language server extension. JSON-LD has its own context for auto completion item, and built-in JSON language server sometimes makes JSON-LD auto completion mess.\r\n\r\n![0](https://user-images.githubusercontent.com/1621293/48597194-7f4ebc00-e997-11e8-8612-8408f587e350.png)\r\n\r\nI understand that we should treat all extensions, including built-in extensions, equally, and it doesn't make sense to disable part feature of one extension for another.\r\n\r\nTo my case, I suggest such solution:\r\n\r\n1. Make document selector score fine. Currently, the score has max value of 10. It doesn't make sense that to specific language id and file path has the same score with to only specific language id.\r\n\r\nFor example:\r\n\r\n```javascript\r\n{\r\n  language: 'json',\r\n  scheme: 'file',\r\n  pattern: '**/*.{interface,template}.json'\r\n}\r\n```\r\nhas the same score with\r\n```javascript\r\n{\r\n  language: 'json'\r\n}\r\n```\r\n\r\n2. Provide an option to allow extension monopolize auto completion item list for specific document. Thus the completion item list shouldn't merge all extensions completion items. The highest score should be applied."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/445710483","html_url":"https://github.com/Microsoft/vscode/issues/63270#issuecomment-445710483","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/63270","id":445710483,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTcxMDQ4Mw==","user":{"login":"Sneezry","id":1621293,"node_id":"MDQ6VXNlcjE2MjEyOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1621293?v=4","gravatar_id":"","url":"https://api.github.com/users/Sneezry","html_url":"https://github.com/Sneezry","followers_url":"https://api.github.com/users/Sneezry/followers","following_url":"https://api.github.com/users/Sneezry/following{/other_user}","gists_url":"https://api.github.com/users/Sneezry/gists{/gist_id}","starred_url":"https://api.github.com/users/Sneezry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sneezry/subscriptions","organizations_url":"https://api.github.com/users/Sneezry/orgs","repos_url":"https://api.github.com/users/Sneezry/repos","events_url":"https://api.github.com/users/Sneezry/events{/privacy}","received_events_url":"https://api.github.com/users/Sneezry/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T07:16:20Z","updated_at":"2018-12-10T07:16:20Z","author_association":"NONE","body":"Hi, everyone. Any update? Is it okay to stop the built-in JSON language server showing auto completion item when a JSON file contains `@context` property? If the solution has been accepted, I'm glad to make a PR. Thanks."}}
{"actor":{"display_login":"Sneezry"}}