I’m using atom on osx. When i click atom icon on my dock it opens new file if no file is opened. This one really annoys me. Sometimes i click icon accidentally and bang new empty file pops up that i have to close. I really hope you will make preference for that. I even went to back to textmate 1 from sublime because of that.
What version are you using?
This feature was added on version 0.85 https://atom.io/releases
I too get a new ‘untitled’ document when launching Atom which I then have to get rid of when I load in a project folder.
Is it in the settings? I can’t see it, currently on 0.92.0. (There’s “destroy empty panes” but I can’t see anything about not opening a blank window on start.)
I’m using 0.90 and also cant find option not to open new untitled document when opening atom
Also having this issue. Unable to discover option to disable the “untitled” document whenever Atom is opened.
Same issue here… using version 0.127.0. Be great if it just open a new window with the sidebar expanded always.
I hate to necro an old topic… but I was also looking for this in settings… and couldn’t find it straight off… is it named something I wouldn’t have noticed?
I’m on the most recent version of atom.io, updated this morning.
No, there isn’t a setting for this currently.
Thank you… I thought from this conversation there was one… I thought maybe I was going nuts… will need to look at writting a quick plugin that stops that…
Well, since many commands will not work without an active window, the blank file is helpful.
What would be nicer is if once you open a named file the untitled file will go away.
I’ve installed your package and, while it correctly restores the sections, it doesn’t prevent untitled tab to pop up.
I’m using Atom 0.186.
Someone please find a solution to this.
Sorry I didn’t see this earlier. There is an option to stop it from opening the new file from opening called
Disable New File On Open. This will stop it if it is enabled. It’s a little weird how it works, but if you want to take a look at how it’s implemented, it’s here.
Thanks mpeterson2 for the answer.
Tbh, after a while, the package started to work on its own.
I get a 404 error for that link.