{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/578","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/578/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/578/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/578/events","html_url":"https://github.com/Microsoft/vscode/issues/578","id":118699831,"number":578,"title":"How to get whole CompletionItems that vscode provided in language service API \"registerCompletionItemProvider\"?","user":{"login":"seanmcbreen","id":1051190,"avatar_url":"https://avatars.githubusercontent.com/u/1051190?v=3","gravatar_id":"","url":"https://api.github.com/users/seanmcbreen","html_url":"https://github.com/seanmcbreen","followers_url":"https://api.github.com/users/seanmcbreen/followers","following_url":"https://api.github.com/users/seanmcbreen/following{/other_user}","gists_url":"https://api.github.com/users/seanmcbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmcbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmcbreen/subscriptions","organizations_url":"https://api.github.com/users/seanmcbreen/orgs","repos_url":"https://api.github.com/users/seanmcbreen/repos","events_url":"https://api.github.com/users/seanmcbreen/events{/privacy}","received_events_url":"https://api.github.com/users/seanmcbreen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestones/Backlog","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"avatar_url":"https://avatars.githubusercontent.com/u/1487073?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":570,"closed_issues":95,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2015-12-23T00:21:02Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-11-24T20:49:18Z","updated_at":"2015-12-23T07:56:43Z","closed_at":"2015-12-18T10:02:21Z","body":"_From @BleyChen on November 10, 2015 6:57_\n\nI want to develop an extension for JavaScript Intellisense in VSCode , And now i meet an problem that when i call the API \"registerCompletionItemProvider\" in the following code , i can't get the whole completionItems that provided by the VSCode itself in method \"provideCompletionItems\",anyone can help me?\r\n\r\n      vscode.languages.registerCompletionItemProvider(\"javascript\",\r\n\t{\r\n\t\tresolveCompletionItem(item:vscode.CompletionItem, token: vscode.CancellationToken): vscode.CompletionItem \r\n\t\t{\r\n\t\t\t\r\n\t\t   var completionItem1:vscode.CompletionItem = new vscode.CompletionItem(\"id\");\r\n\t\t   completionItem1.detail = \"aaa\";\r\n\t\t   completionItem1.filterText = \"aa\";\r\n\t\t   completionItem1.insertText = \"aa\";\r\n\t\t   return completionItem1;\r\n\t\t}\r\n\t\t,\r\n\t\tprovideCompletionItems(document: vscode.TextDocument, position: vscode.Position, token: vscode.CancellationToken): Promise<vscode.CompletionItem[]> \r\n\t\t{\r\n        // I want to get \tcompletionItems that provided by the VSCode itself ,not like following code ,provided by myself. does any variable has stored completionItems.\r\n\r\n\t\t\treturn new Promise((resolve, reject) => { \r\n\t\t\tvar completionItems:vscode.CompletionItem[] = [];\r\n\t\t\tvar completionItem:vscode.CompletionItem = new vscode.CompletionItem(\"bb\");\r\n\t\t\tcompletionItem.detail = \"bde\";\r\n\t\t\tcompletionItem.filterText = \"bb\";\r\n\t\t\tcompletionItem.insertText = \"bb\";\r\n\t\t\tcompletionItems.push(completionItem);\r\n\t\t\treturn resolve(completionItems) ;\r\n\t\t\t\t\t\t});\r\n\t\t}\r\n\t})\n\n_Copied from original issue: Microsoft/vscode-extensionbuilders#89_"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/166829797","html_url":"https://github.com/Microsoft/vscode/issues/578#issuecomment-166829797","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/578","id":166829797,"user":{"login":"BleyChen","id":15098626,"avatar_url":"https://avatars.githubusercontent.com/u/15098626?v=3","gravatar_id":"","url":"https://api.github.com/users/BleyChen","html_url":"https://github.com/BleyChen","followers_url":"https://api.github.com/users/BleyChen/followers","following_url":"https://api.github.com/users/BleyChen/following{/other_user}","gists_url":"https://api.github.com/users/BleyChen/gists{/gist_id}","starred_url":"https://api.github.com/users/BleyChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BleyChen/subscriptions","organizations_url":"https://api.github.com/users/BleyChen/orgs","repos_url":"https://api.github.com/users/BleyChen/repos","events_url":"https://api.github.com/users/BleyChen/events{/privacy}","received_events_url":"https://api.github.com/users/BleyChen/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T07:56:43Z","updated_at":"2015-12-23T07:56:43Z","body":"@jrieken  which API Commands ,can you tell me ,thank you!"}}