{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/n4js/pulls/comments/238610845","pull_request_review_id":181191986,"id":238610845,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODYxMDg0NQ==","diff_hunk":"@@ -102,6 +103,10 @@ public void lookupCrossReference(\n \t\t\tFunction<IEObjectDescription, ICompletionProposal> proposalFactory) {\n \n \t\tif (model != null) {\n+\t\t\tif (PickyCompletionProposalAcceptor.hasSeenScopeFor(acceptor, model, reference)) {","path":"plugins/org.eclipse.n4js.ui/src/org/eclipse/n4js/ui/proposals/imports/ImportsAwareReferenceProposalCreator.java","position":12,"original_position":12,"commit_id":"1bf11c25a9714566b699945d5274beb548cb1d29","original_commit_id":"1bf11c25a9714566b699945d5274beb548cb1d29","user":{"login":"szarnekow","id":375492,"node_id":"MDQ6VXNlcjM3NTQ5Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/375492?v=4","gravatar_id":"","url":"https://api.github.com/users/szarnekow","html_url":"https://github.com/szarnekow","followers_url":"https://api.github.com/users/szarnekow/followers","following_url":"https://api.github.com/users/szarnekow/following{/other_user}","gists_url":"https://api.github.com/users/szarnekow/gists{/gist_id}","starred_url":"https://api.github.com/users/szarnekow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szarnekow/subscriptions","organizations_url":"https://api.github.com/users/szarnekow/orgs","repos_url":"https://api.github.com/users/szarnekow/repos","events_url":"https://api.github.com/users/szarnekow/events{/privacy}","received_events_url":"https://api.github.com/users/szarnekow/received_events","type":"User","site_admin":false},"body":"Here you could try to call `org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider.announceProcessing(List<?>)` with list containing a unique first element, e.g. `\"lookupCrossReference\"` and the model and reference. That should already do the trick for a given ContentAssistContext. ","created_at":"2018-12-04T10:45:00Z","updated_at":"2018-12-04T10:45:00Z","html_url":"https://github.com/eclipse/n4js/pull/1187#discussion_r238610845","pull_request_url":"https://api.github.com/repos/eclipse/n4js/pulls/1187","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/eclipse/n4js/pulls/comments/238610845"},"html":{"href":"https://github.com/eclipse/n4js/pull/1187#discussion_r238610845"},"pull_request":{"href":"https://api.github.com/repos/eclipse/n4js/pulls/1187"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/n4js/pulls/1187","id":235756336,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1NzU2MzM2","html_url":"https://github.com/eclipse/n4js/pull/1187","diff_url":"https://github.com/eclipse/n4js/pull/1187.diff","patch_url":"https://github.com/eclipse/n4js/pull/1187.patch","issue_url":"https://api.github.com/repos/eclipse/n4js/issues/1187","number":1187,"state":"open","locked":false,"title":"GH-926: As a user I want content assist to be faster and better sorted","user":{"login":"mor-n4","id":7124687,"node_id":"MDQ6VXNlcjcxMjQ2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/7124687?v=4","gravatar_id":"","url":"https://api.github.com/users/mor-n4","html_url":"https://github.com/mor-n4","followers_url":"https://api.github.com/users/mor-n4/followers","following_url":"https://api.github.com/users/mor-n4/following{/other_user}","gists_url":"https://api.github.com/users/mor-n4/gists{/gist_id}","starred_url":"https://api.github.com/users/mor-n4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mor-n4/subscriptions","organizations_url":"https://api.github.com/users/mor-n4/orgs","repos_url":"https://api.github.com/users/mor-n4/repos","events_url":"https://api.github.com/users/mor-n4/events{/privacy}","received_events_url":"https://api.github.com/users/mor-n4/received_events","type":"User","site_admin":false},"body":"See #926.","created_at":"2018-12-04T10:33:29Z","updated_at":"2018-12-04T10:45:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0d8f989f01d0c347b0be9a08d7c42137ffaab32","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/n4js/pulls/1187/commits","review_comments_url":"https://api.github.com/repos/eclipse/n4js/pulls/1187/comments","review_comment_url":"https://api.github.com/repos/eclipse/n4js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/n4js/issues/1187/comments","statuses_url":"https://api.github.com/repos/eclipse/n4js/statuses/1bf11c25a9714566b699945d5274beb548cb1d29","head":{"label":"eclipse:GH-926-b","ref":"GH-926-b","sha":"1bf11c25a9714566b699945d5274beb548cb1d29","user":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":87847606,"node_id":"MDEwOlJlcG9zaXRvcnk4Nzg0NzYwNg==","name":"n4js","full_name":"eclipse/n4js","private":false,"owner":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eclipse/n4js","description":null,"fork":false,"url":"https://api.github.com/repos/eclipse/n4js","forks_url":"https://api.github.com/repos/eclipse/n4js/forks","keys_url":"https://api.github.com/repos/eclipse/n4js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/n4js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/n4js/teams","hooks_url":"https://api.github.com/repos/eclipse/n4js/hooks","issue_events_url":"https://api.github.com/repos/eclipse/n4js/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/n4js/events","assignees_url":"https://api.github.com/repos/eclipse/n4js/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/n4js/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/n4js/tags","blobs_url":"https://api.github.com/repos/eclipse/n4js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/n4js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/n4js/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/n4js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/n4js/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/n4js/languages","stargazers_url":"https://api.github.com/repos/eclipse/n4js/stargazers","contributors_url":"https://api.github.com/repos/eclipse/n4js/contributors","subscribers_url":"https://api.github.com/repos/eclipse/n4js/subscribers","subscription_url":"https://api.github.com/repos/eclipse/n4js/subscription","commits_url":"https://api.github.com/repos/eclipse/n4js/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/n4js/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/n4js/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/n4js/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/n4js/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/n4js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/n4js/merges","archive_url":"https://api.github.com/repos/eclipse/n4js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/n4js/downloads","issues_url":"https://api.github.com/repos/eclipse/n4js/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/n4js/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/n4js/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/n4js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/n4js/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/n4js/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/n4js/deployments","created_at":"2017-04-10T19:05:37Z","updated_at":"2018-12-04T10:26:26Z","pushed_at":"2018-12-04T10:33:30Z","git_url":"git://github.com/eclipse/n4js.git","ssh_url":"git@github.com:eclipse/n4js.git","clone_url":"https://github.com/eclipse/n4js.git","svn_url":"https://github.com/eclipse/n4js","homepage":null,"size":57253,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":227,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0","node_id":"MDc6TGljZW5zZTc="},"forks":11,"open_issues":227,"watchers":11,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"344dbb85706206b0a9bcd11cf3673e6ec03448f0","user":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":87847606,"node_id":"MDEwOlJlcG9zaXRvcnk4Nzg0NzYwNg==","name":"n4js","full_name":"eclipse/n4js","private":false,"owner":{"login":"eclipse","id":56974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2OTc0","avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eclipse/n4js","description":null,"fork":false,"url":"https://api.github.com/repos/eclipse/n4js","forks_url":"https://api.github.com/repos/eclipse/n4js/forks","keys_url":"https://api.github.com/repos/eclipse/n4js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/n4js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/n4js/teams","hooks_url":"https://api.github.com/repos/eclipse/n4js/hooks","issue_events_url":"https://api.github.com/repos/eclipse/n4js/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/n4js/events","assignees_url":"https://api.github.com/repos/eclipse/n4js/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/n4js/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/n4js/tags","blobs_url":"https://api.github.com/repos/eclipse/n4js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/n4js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/n4js/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/n4js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/n4js/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/n4js/languages","stargazers_url":"https://api.github.com/repos/eclipse/n4js/stargazers","contributors_url":"https://api.github.com/repos/eclipse/n4js/contributors","subscribers_url":"https://api.github.com/repos/eclipse/n4js/subscribers","subscription_url":"https://api.github.com/repos/eclipse/n4js/subscription","commits_url":"https://api.github.com/repos/eclipse/n4js/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/n4js/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/n4js/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/n4js/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/n4js/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/n4js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/n4js/merges","archive_url":"https://api.github.com/repos/eclipse/n4js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/n4js/downloads","issues_url":"https://api.github.com/repos/eclipse/n4js/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/n4js/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/n4js/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/n4js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/n4js/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/n4js/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/n4js/deployments","created_at":"2017-04-10T19:05:37Z","updated_at":"2018-12-04T10:26:26Z","pushed_at":"2018-12-04T10:33:30Z","git_url":"git://github.com/eclipse/n4js.git","ssh_url":"git@github.com:eclipse/n4js.git","clone_url":"https://github.com/eclipse/n4js.git","svn_url":"https://github.com/eclipse/n4js","homepage":null,"size":57253,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":227,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0","node_id":"MDc6TGljZW5zZTc="},"forks":11,"open_issues":227,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/n4js/pulls/1187"},"html":{"href":"https://github.com/eclipse/n4js/pull/1187"},"issue":{"href":"https://api.github.com/repos/eclipse/n4js/issues/1187"},"comments":{"href":"https://api.github.com/repos/eclipse/n4js/issues/1187/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/n4js/pulls/1187/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/n4js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/n4js/pulls/1187/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/n4js/statuses/1bf11c25a9714566b699945d5274beb548cb1d29"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"szarnekow"}}