Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell Atom to not remember last opened project?

Tags:

atom-editor

I would like to retrieve the welcome screen (and only it) when I start Atom. That way, I'll be able to choose the project I want to work on each time I start Atom (currently, I have to close the project opened the last time).

I already re-enabled the Welcome package in the init.coffee file so I see the welcome screen each time I start Atom, but there are two problems.

First: this screen is now shown every time I open a new window, so every time I open another project than the current one (I use Projects Manager if it matters). It's not very useful, as I only want to see this screen when I start Atom.

Second: I see the welcome screen on start, but only as new tabs in the last opened project, so the problem remains the same.

Has someone a solution?

like image 694
Jeremy Avatar asked Sep 26 '15 08:09

Jeremy


People also ask

How do I turn on autosave in Atom?

Autosave package This package is disabled by default and can be enabled via the autosave. enabled config setting or from the Autosave section of the Settings view (OS X: cmd-,, Windows & Linux: Ctrl-,).

How do I reopen a project in Atom?

If you close the Atom window before quitting, this will happen. Luckily, the solution is pretty easy. Go to the “File” menu, choose “Reopen Project,” and then choose your project from the list there.

How do I delete a project in Atom?

Atom provide application:add-project-folder to add your project to project list. And you can right click and chose Remove Project Folder to remove project from list.

How do I run a command line in an Atom?

Just click the keyboard button in the top left of the terminal or set up a keymap to the atom-ide-terminal:insert-text command. Note: Make sure you have the Run Inserted Command toggle off otherwise it will run your inserted text.


1 Answers

I came across this problem, too.

But I found that if I had 'openEmptyEditorOnStart: true' in the config.cson file, and each time I quit the Atom I did "Remove Project Folder" in the "Tree View", next time I opened the Atom edit, I can open it without the last opened project.

Hope it helps. :)

enter image description here

like image 78
shyan1 Avatar answered Sep 17 '22 04:09

shyan1