Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Atom Doesn't Remember Which File Was Last Edited When Working With A Single File #2253

Closed
1 task done
JosephTLyons opened this issue Aug 20, 2019 · 1 comment
Closed
1 task done

Comments

@JosephTLyons
Copy link

JosephTLyons commented Aug 20, 2019

Prerequisites

Description

Typically, if you are working on a session and then close Atom, then reopen Atom, that session will reopen where you left off. Back in Atom 1.36.0, we got the feature to not open the entire parent directory if only opening a single file to edit. If you open a single file in Atom, close Atom, and reopen Atom, it will open up to the default "landing page," entirely forgetting the file you last worked on. This happens in safe mode as well.

Steps to Reproduce

  1. Open a single file in Atom: atom filename.ext --safe
  2. Close atom
  3. Open Atom without specifying a file: atom --safe
  4. Notice that Atom does not remember the single file you worked on like it does when opening a directory.

Expected behavior:

I expected Atom to remember the last file I worked on.

Actual behavior:

Atom entirely forgets the last file I was working on (if it is a single file and not a directory).

Reproduces how often:

It reproduces for me each time I edit a single file and close, then reopen Atom.

Versions

Additional Information

Atom : 1.40.0
Electron: 3.1.10
Chrome : 66.0.3359.181
Node : 10.2.0
npm: 6.9.0

@rsese
Copy link
Contributor

rsese commented Aug 20, 2019

Thanks @JosephTLyons 👍

This is being tracked at atom/settings-view#1129 so you can subscribe there for updates.


Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.

@rsese rsese closed this as completed Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants