<p dir="auto">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.</p>
<p dir="auto">Did I do something wrong? Is there a way to make the existing "Open with Atom" right-click menu entry "stick"?<br>
Please tell me there's a more streamlined way to achieve correct file associations on Windows!</p>
<p dir="auto">Expected behaviour:<br>
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.<br>
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.</p>
<p dir="auto">Observed behaviour:</p>
<ol dir="auto">
<li>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.</li>
<li>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)<br>
Puzzlingly, Atom is not in the list of proposed applications. O_o</li>
<li>Nevermind, let's hit "further applications" and select from there. Huh, Atom is not in C:\Program Files, either, so that didn't work.</li>
<li>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?).</li>
<li>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 :-(</li>
<li>the cmd file in the bin directory is an option, but to select that you have to
<ul dir="auto">
<li>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)</li>
<li>copy the path to bin</li>
<li>navigate the open with dialog until you get to the point where you can select arbitrary files</li>
<li>paste the path</li>
<li>select atom.cmd</li>
</ul>
</li>
<li>Hooray, now I can open files with Atom all the time, but:
<ul dir="auto">
<li>I got no way to select the Atom icon, I got an empty white rectangle.</li>
<li>It flickers the terminal for a split second, which interestingly does not happen when starting atom via the start menu. Annoying, but not vital.</li>
<li>It says "atom.cmd" in the relevant dialogs/menus, which is not exactly beautiful/elegant.</li>
<li>I can't imagine a normal user to go through this dance to do this, compared to the experience in other editors like Notepad++.</li>
</ul>
</li>
</ol>
<p dir="auto">Versions: Windows 8.1, Atom 198; dialog strings translated from German, so may not be identical to an english windows.</p>
<p dir="auto">Currently it is not so easy to assign atom as default editor on windows eg for all .css files</p>
<p dir="auto">the path to atom.exe is changed with every update.</p>
<p dir="auto">no exe in C:\Users\hebbet\AppData\Local\atom<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1423115/5648585/df87f05a-968f-11e4-87bc-ae2b5b6f9280.png"><img src="https://cloud.githubusercontent.com/assets/1423115/5648585/df87f05a-968f-11e4-87bc-ae2b5b6f9280.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Chrome has eg an chrome.exe in:<br>
C:\Users\username\AppData\Local\Google\Chrome SxS\Application which starts chrome with the currect folder.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1423115/5648575/c9bdcde4-968f-11e4-9f63-42fc08e3f0b5.png"><img src="https://cloud.githubusercontent.com/assets/1423115/5648575/c9bdcde4-968f-11e4-9f63-42fc08e3f0b5.png" alt="image" style="max-width: 100%;"></a></p>