{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/8030","labels_url":"https://api.github.com/repos/atom/atom/issues/8030/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/8030/comments","events_url":"https://api.github.com/repos/atom/atom/issues/8030/events","html_url":"https://github.com/atom/atom/issues/8030","id":96620215,"number":8030,"title":"open new file in an already open window","user":{"login":"haikyuu","id":8558836,"avatar_url":"https://avatars.githubusercontent.com/u/8558836?v=3","gravatar_id":"","url":"https://api.github.com/users/haikyuu","html_url":"https://github.com/haikyuu","followers_url":"https://api.github.com/users/haikyuu/followers","following_url":"https://api.github.com/users/haikyuu/following{/other_user}","gists_url":"https://api.github.com/users/haikyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/haikyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haikyuu/subscriptions","organizations_url":"https://api.github.com/users/haikyuu/orgs","repos_url":"https://api.github.com/users/haikyuu/repos","events_url":"https://api.github.com/users/haikyuu/events{/privacy}","received_events_url":"https://api.github.com/users/haikyuu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/more-information-needed","name":"more-information-needed","color":"009800"},{"url":"https://api.github.com/repos/atom/atom/labels/needs-reproduction","name":"needs-reproduction","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-22T17:19:17Z","updated_at":"2015-07-22T17:54:43Z","closed_at":null,"body":"I'm using atom 1.0.0 in Ubuntu. \r\nWhen i run `atom nonExistantFile`, a **new window** is opened for it.\r\nAs atom is slow on start-up, that's very inconvenient. Is there an option to open in an already open window?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/123807995","html_url":"https://github.com/atom/atom/issues/8030#issuecomment-123807995","issue_url":"https://api.github.com/repos/atom/atom/issues/8030","id":123807995,"user":{"login":"haikyuu","id":8558836,"avatar_url":"https://avatars.githubusercontent.com/u/8558836?v=3","gravatar_id":"","url":"https://api.github.com/users/haikyuu","html_url":"https://github.com/haikyuu","followers_url":"https://api.github.com/users/haikyuu/followers","following_url":"https://api.github.com/users/haikyuu/following{/other_user}","gists_url":"https://api.github.com/users/haikyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/haikyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haikyuu/subscriptions","organizations_url":"https://api.github.com/users/haikyuu/orgs","repos_url":"https://api.github.com/users/haikyuu/repos","events_url":"https://api.github.com/users/haikyuu/events{/privacy}","received_events_url":"https://api.github.com/users/haikyuu/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T17:54:43Z","updated_at":"2015-07-22T17:54:43Z","body":"I updated (i don't think it has anything to do with the version).\r\nAnyway, here is what happens:\r\n- If you open a new file in a directory that **has an** instance of atom open, it will open the file in the **same window**.\r\n- If you open a file new file in a directory that **has no** instance of atom open, it will open the file in a **new window**. (happens also for git commit message)\r\nI think that it would be great to add it as an **option** `atom --already-open fileName`: and the file will be opened in the **last active** instance of atom.\r\nThis way we could fix it for the commit message too."}}