{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/30793","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/30793/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/30793/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/30793/events","html_url":"https://github.com/dotnet/roslyn/issues/30793","id":374489970,"node_id":"MDU6SXNzdWUzNzQ0ODk5NzA=","number":30793,"title":"Move to File not behaving as expected","user":{"login":"amcasey","id":10508071,"node_id":"MDQ6VXNlcjEwNTA4MDcx","avatar_url":"https://avatars2.githubusercontent.com/u/10508071?v=4","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/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}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-26T18:06:01Z","updated_at":"2018-10-26T18:44:09Z","closed_at":null,"author_association":"MEMBER","body":"**Version Used**: 2.11.0-beta1-63422-04+98737be0c4177d8acd850537dac5be6e36774dd7\r\n\r\n**Steps to Reproduce**:\r\n\r\n1. Create a new desktop C# Class Library\r\n2. Append `public class Stuff { }`\r\n3. Move the cursor to \"Stuff\" and apply the move-to-file refactoring\r\n\r\n**Expected Behavior**:\r\n\r\n1. Class Stuff is moved to Stuff.cs\r\n2. Class1.cs is dirty\r\n3. Stuff.cs is open and focused\r\n\r\n**Actual Behavior**:\r\n\r\n1. Class stuff is moved to Stuff.cs (good)\r\n2. Class1.cs is not dirty (undo brings back the text but it remains not-dirty)\r\n3. Stuff.cs is not open"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/433506519","html_url":"https://github.com/dotnet/roslyn/issues/30793#issuecomment-433506519","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/30793","id":433506519,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzUwNjUxOQ==","user":{"login":"CyrusNajmabadi","id":4564579,"node_id":"MDQ6VXNlcjQ1NjQ1Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/4564579?v=4","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T18:44:09Z","updated_at":"2018-10-26T18:44:09Z","author_association":"CONTRIBUTOR","body":"> Stuff.cs is not open\r\n\r\nThis is very much by design.  Our refactorings explicitly do not move to the new code. This is to help the general pattern of someone working in some code and doing a bunch of cleanup/refactoring steps.  We don't want to jump them to those locations, forcing them to jump back."}}
{"actor":{"display_login":"CyrusNajmabadi"}}