{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/28266","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/28266/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/28266/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/28266/events","html_url":"https://github.com/dotnet/roslyn/issues/28266","id":338016435,"node_id":"MDU6SXNzdWUzMzgwMTY0MzU=","number":28266,"title":"Refactoring options not available when caret immediately to the right","user":{"login":"justcla","id":17131343,"node_id":"MDQ6VXNlcjE3MTMxMzQz","avatar_url":"https://avatars2.githubusercontent.com/u/17131343?v=4","gravatar_id":"","url":"https://api.github.com/users/justcla","html_url":"https://github.com/justcla","followers_url":"https://api.github.com/users/justcla/followers","following_url":"https://api.github.com/users/justcla/following{/other_user}","gists_url":"https://api.github.com/users/justcla/gists{/gist_id}","starred_url":"https://api.github.com/users/justcla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justcla/subscriptions","organizations_url":"https://api.github.com/users/justcla/orgs","repos_url":"https://api.github.com/users/justcla/repos","events_url":"https://api.github.com/users/justcla/events{/privacy}","received_events_url":"https://api.github.com/users/justcla/received_events","type":"User","site_admin":false},"labels":[{"id":166377917,"node_id":"MDU6TGFiZWwxNjYzNzc5MTc=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false},{"id":165001069,"node_id":"MDU6TGFiZWwxNjUwMDEwNjk=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"e52727","default":false},{"id":288147422,"node_id":"MDU6TGFiZWwyODgxNDc0MjI=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Community","name":"Community","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"jcouv","id":12466233,"node_id":"MDQ6VXNlcjEyNDY2MjMz","avatar_url":"https://avatars2.githubusercontent.com/u/12466233?v=4","gravatar_id":"","url":"https://api.github.com/users/jcouv","html_url":"https://github.com/jcouv","followers_url":"https://api.github.com/users/jcouv/followers","following_url":"https://api.github.com/users/jcouv/following{/other_user}","gists_url":"https://api.github.com/users/jcouv/gists{/gist_id}","starred_url":"https://api.github.com/users/jcouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcouv/subscriptions","organizations_url":"https://api.github.com/users/jcouv/orgs","repos_url":"https://api.github.com/users/jcouv/repos","events_url":"https://api.github.com/users/jcouv/events{/privacy}","received_events_url":"https://api.github.com/users/jcouv/received_events","type":"User","site_admin":false},"assignees":[{"login":"jcouv","id":12466233,"node_id":"MDQ6VXNlcjEyNDY2MjMz","avatar_url":"https://avatars2.githubusercontent.com/u/12466233?v=4","gravatar_id":"","url":"https://api.github.com/users/jcouv","html_url":"https://github.com/jcouv","followers_url":"https://api.github.com/users/jcouv/followers","following_url":"https://api.github.com/users/jcouv/following{/other_user}","gists_url":"https://api.github.com/users/jcouv/gists{/gist_id}","starred_url":"https://api.github.com/users/jcouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcouv/subscriptions","organizations_url":"https://api.github.com/users/jcouv/orgs","repos_url":"https://api.github.com/users/jcouv/repos","events_url":"https://api.github.com/users/jcouv/events{/privacy}","received_events_url":"https://api.github.com/users/jcouv/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/18","html_url":"https://github.com/dotnet/roslyn/milestone/18","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/18/labels","id":1675130,"node_id":"MDk6TWlsZXN0b25lMTY3NTEzMA==","number":18,"title":"16.0","description":"The version *after* the next major version.","creator":{"login":"gafter","id":3804346,"node_id":"MDQ6VXNlcjM4MDQzNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/3804346?v=4","gravatar_id":"","url":"https://api.github.com/users/gafter","html_url":"https://github.com/gafter","followers_url":"https://api.github.com/users/gafter/followers","following_url":"https://api.github.com/users/gafter/following{/other_user}","gists_url":"https://api.github.com/users/gafter/gists{/gist_id}","starred_url":"https://api.github.com/users/gafter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gafter/subscriptions","organizations_url":"https://api.github.com/users/gafter/orgs","repos_url":"https://api.github.com/users/gafter/repos","events_url":"https://api.github.com/users/gafter/events{/privacy}","received_events_url":"https://api.github.com/users/gafter/received_events","type":"User","site_admin":false},"open_issues":1083,"closed_issues":344,"state":"open","created_at":"2016-03-31T00:06:25Z","updated_at":"2018-07-12T19:20:10Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-07-03T18:51:49Z","updated_at":"2018-07-12T20:11:37Z","closed_at":null,"author_association":"NONE","body":"Certain code fixes only become available when the caret is on a specific item. For many of these, the code fix will not be available if the caret happens to be at the right of the token.\r\n\r\nIn this example, I have just typed \"2.0\". My caret is to the right of the \"0\". (Indicated in Yellow)\r\nWhen I open the lightbulb menu there is no option so introduce local var.\r\n\r\n![image](https://user-images.githubusercontent.com/17131343/42238974-631e518a-7eb7-11e8-8d9f-4b188eaee1ce.png)\r\n\r\nBut when I move the caret one position to the left, the options become available.\r\n\r\n![image](https://user-images.githubusercontent.com/17131343/42238980-6a0d5d4c-7eb7-11e8-8d8a-e0ed7adfa7be.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/404635698","html_url":"https://github.com/dotnet/roslyn/issues/28266#issuecomment-404635698","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/28266","id":404635698,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDYzNTY5OA==","user":{"login":"Neme12","id":11444821,"node_id":"MDQ6VXNlcjExNDQ0ODIx","avatar_url":"https://avatars3.githubusercontent.com/u/11444821?v=4","gravatar_id":"","url":"https://api.github.com/users/Neme12","html_url":"https://github.com/Neme12","followers_url":"https://api.github.com/users/Neme12/followers","following_url":"https://api.github.com/users/Neme12/following{/other_user}","gists_url":"https://api.github.com/users/Neme12/gists{/gist_id}","starred_url":"https://api.github.com/users/Neme12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neme12/subscriptions","organizations_url":"https://api.github.com/users/Neme12/orgs","repos_url":"https://api.github.com/users/Neme12/repos","events_url":"https://api.github.com/users/Neme12/events{/privacy}","received_events_url":"https://api.github.com/users/Neme12/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T20:11:37Z","updated_at":"2018-07-12T20:11:37Z","author_association":"CONTRIBUTOR","body":"Isn't \"expand selection\" just doing a walk up the syntax tree? That means it finds the argument list as the parent node and takes it whole span. This would likely have to be special-cased, possibly in a lot more cases where we'd prefer a different behavior."}}
{"actor":{"display_login":"Neme12"}}