{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4865","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4865/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4865/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4865/events","html_url":"https://github.com/dotnet/roslyn/pull/4865","id":103753830,"number":4865,"title":"Enable selection of Mef components based on TextViewRole...","user":{"login":"KevinH-MS","id":6464209,"avatar_url":"https://avatars.githubusercontent.com/u/6464209?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinH-MS","html_url":"https://github.com/KevinH-MS","followers_url":"https://api.github.com/users/KevinH-MS/followers","following_url":"https://api.github.com/users/KevinH-MS/following{/other_user}","gists_url":"https://api.github.com/users/KevinH-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinH-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinH-MS/subscriptions","organizations_url":"https://api.github.com/users/KevinH-MS/orgs","repos_url":"https://api.github.com/users/KevinH-MS/repos","events_url":"https://api.github.com/users/KevinH-MS/events{/privacy}","received_events_url":"https://api.github.com/users/KevinH-MS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Interactive","name":"Area-Interactive","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/12","html_url":"https://github.com/dotnet/roslyn/milestones/1.1(preview)","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/12/labels","id":1230243,"number":12,"title":"1.1(preview)","description":"","creator":{"login":"ManishJayaswal","id":9527491,"avatar_url":"https://avatars.githubusercontent.com/u/9527491?v=3","gravatar_id":"","url":"https://api.github.com/users/ManishJayaswal","html_url":"https://github.com/ManishJayaswal","followers_url":"https://api.github.com/users/ManishJayaswal/followers","following_url":"https://api.github.com/users/ManishJayaswal/following{/other_user}","gists_url":"https://api.github.com/users/ManishJayaswal/gists{/gist_id}","starred_url":"https://api.github.com/users/ManishJayaswal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManishJayaswal/subscriptions","organizations_url":"https://api.github.com/users/ManishJayaswal/orgs","repos_url":"https://api.github.com/users/ManishJayaswal/repos","events_url":"https://api.github.com/users/ManishJayaswal/events{/privacy}","received_events_url":"https://api.github.com/users/ManishJayaswal/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":25,"state":"open","created_at":"2015-07-28T20:37:13Z","updated_at":"2015-08-28T16:48:01Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-28T16:45:56Z","updated_at":"2015-08-28T16:48:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/4865","html_url":"https://github.com/dotnet/roslyn/pull/4865","diff_url":"https://github.com/dotnet/roslyn/pull/4865.diff","patch_url":"https://github.com/dotnet/roslyn/pull/4865.patch"},"body":"We need a way to provide alternate completion in the Interactive Window.\r\nPreviously, we weren't taking ```TextViewRole``` into consideration when\r\nselecting completion providers.  This change allows a service to opt in to\r\nconsidering ```TextViewRole``` by passing ```OrderableLanguageAndRoleMetadata``` to\r\n```SelectMatchingExtensionValues``` .\r\n\r\nThis change also includes some cleanup of test helpers and extra\r\n```TextViewRole``` attributes that weren't doing anything meaningful.\r\n\r\n**Note:**  The main thing driving this change is extra image loads, which could\r\nhave been solved by moving the code into the \"core\" assemblies.  I chose to\r\nkeep everything in a separate \"Interactive\" assembly, because it seems virtuous\r\nto enforce some discipline around extra completion providers, etc being loaded\r\nwhen they're not applicable."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/135829822","html_url":"https://github.com/dotnet/roslyn/pull/4865#issuecomment-135829822","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4865","id":135829822,"user":{"login":"KevinH-MS","id":6464209,"avatar_url":"https://avatars.githubusercontent.com/u/6464209?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinH-MS","html_url":"https://github.com/KevinH-MS","followers_url":"https://api.github.com/users/KevinH-MS/followers","following_url":"https://api.github.com/users/KevinH-MS/following{/other_user}","gists_url":"https://api.github.com/users/KevinH-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinH-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinH-MS/subscriptions","organizations_url":"https://api.github.com/users/KevinH-MS/orgs","repos_url":"https://api.github.com/users/KevinH-MS/repos","events_url":"https://api.github.com/users/KevinH-MS/events{/privacy}","received_events_url":"https://api.github.com/users/KevinH-MS/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T16:48:06Z","updated_at":"2015-08-28T16:48:06Z","body":"Tagging @DustinCampbell @jasonmalinowski for review..."}}