Associating Atom with (text) files on Windows is very difficult #6734

Closed
bilderbuchi opened this Issue May 11, 2015 · 7 comments

Comments

Projects
None yet
5 participants
@bilderbuchi

I want to open all my text files with Atom, but I couldn't find a good way to do that, that's not breaking with every Atom update, and I don't get Atom icons.

Did I do something wrong? Is there a way to make the existing "Open with Atom" right-click menu entry "stick"?
Please tell me there's a more streamlined way to achieve correct file associations on Windows!

Expected behaviour:
Either Atom offers on installation to associate with files typically edited with a text editor, or offers a setting where you can do that post-installation.
Failing that, the user is given a clear method of associating desired file types with Atom, e.g. using the "open with" dialog like other editors allow.

Observed behaviour:

  1. Atom is not associated with any files, and there's no setting to change that. There is a context menu entry, but that requires constant right-clicking for every file you want to open in Atom, so is not really desirable.
  2. OK, so I thought I'd manually change the "open With" choice for every file type to a new default setting. (Right click a txt file - open with - set new default application)
    Puzzlingly, Atom is not in the list of proposed applications. O_o
  3. Nevermind, let's hit "further applications" and select from there. Huh, Atom is not in C:\Program Files, either, so that didn't work.
  4. OK, then let's select the installed desktop link (or start menu entry). Hooray, I could select it. Oh, it just flickers a terminal at you for a split second. Turns out, this just calls some update.exe, and something gets messed up (probably command args?).
  5. After some googling, I found out that Atom gets installed in AppData somewhere, so let's search the exe there. Erm, the exe is in a version-specific folder, so I'd have to re-associate all my file bindings after every update. No, thank you :-(
  6. the cmd file in the bin directory is an option, but to select that you have to
    • go to the location in a separate Explorer window (to display hidden items to be able to see AppData, which you can't do in the file selection dialog)
    • copy the path to bin
    • navigate the open with dialog until you get to the point where you can select arbitrary files
    • paste the path
    • select atom.cmd
  7. Hooray, now I can open files with Atom all the time, but:
    • I got no way to select the Atom icon, I got an empty white rectangle.
    • It flickers the terminal for a split second, which interestingly does not happen when starting atom via the start menu. Annoying, but not vital.
    • It says "atom.cmd" in the relevant dialogs/menus, which is not exactly beautiful/elegant.
    • I can't imagine a normal user to go through this dance to do this, compared to the experience in other editors like Notepad++.

Versions: Windows 8.1, Atom 198; dialog strings translated from German, so may not be identical to an english windows.

@50Wliu

This comment has been minimized.

Show comment
Hide comment
@50Wliu

50Wliu May 11, 2015

Member

Duplicate of #4893, please subscribe there for updates.

Member

50Wliu commented May 11, 2015

Duplicate of #4893, please subscribe there for updates.

@50Wliu 50Wliu closed this May 11, 2015

@50Wliu 50Wliu added the duplicate label May 11, 2015

@bilderbuchi

This comment has been minimized.

Show comment
Hide comment
@bilderbuchi

bilderbuchi May 11, 2015

ups, sorry for that. I searched the tracker, but didn't find that other issue (probably because it doesn't use "associate").

ups, sorry for that. I searched the tracker, but didn't find that other issue (probably because it doesn't use "associate").

@50Wliu

This comment has been minimized.

Show comment
Hide comment
@50Wliu

50Wliu May 11, 2015

Member

No worries :)
I had some trouble finding it too at first (I knew it existed, but forgot what keywords it included).

Member

50Wliu commented May 11, 2015

No worries :)
I had some trouble finding it too at first (I knew it existed, but forgot what keywords it included).

@ShaneGowland

This comment has been minimized.

Show comment
Hide comment
@ShaneGowland

ShaneGowland Dec 15, 2015

This problem annoyed me too so I put together this little solution. https://shanegowland.com/tech/2015/atom-editor-open-with-assistant-for-windows/

This problem annoyed me too so I put together this little solution. https://shanegowland.com/tech/2015/atom-editor-open-with-assistant-for-windows/

@mochadwi

This comment has been minimized.

Show comment
Hide comment
@mochadwi

mochadwi Jan 7, 2016

Thank you very much :)

mochadwi commented Jan 7, 2016

Thank you very much :)

@htlf

This comment has been minimized.

Show comment
Hide comment
@htlf

htlf Jan 29, 2017

I have no trouble doing just that on windows10! maybe a fix has been released in the meanwhile...

htlf commented Jan 29, 2017

I have no trouble doing just that on windows10! maybe a fix has been released in the meanwhile...

@lock

This comment has been minimized.

Show comment
Hide comment
@lock

lock bot Apr 3, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

lock bot commented Apr 3, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@atom atom locked and limited conversation to collaborators Apr 3, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.