<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>Create a file named 2Checkout.ts</li>
<li>Rename file to checkOut.ts</li>
</ol>
<p dir="auto">I'm not sure if these are the steps (or which step) resulted in the error, but this is what I was doing at the time.</p>
<p dir="auto">When the problem occurred, the ide opened hundreds of tabs. I was not able to work again until I had manually closed all the tabs.</p>
<p dir="auto">I have noticed a couple of related(?) issues:</p>
<ol dir="auto">
<li>when I rename a file in the tree, a file with the new name is created but a file with the old name remains. This only happens if the file is open in the editor (e.g. if I left-click on the tree item, then right-click and rename). If I right-click on the tree-item and rename, the file is renamed correctly.</li>
<li>When I delete the old file from the tree, the file remains open in the editor, but with the 'trashed' name.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.194.0<br>
<strong>System</strong>: Mac OS X 10.10.3<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ENOENT: no such file or directory, open '/Users/admin/Documents/workspace/coachcommune/services/2checkoutService.ts'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:141

Error: ENOENT: no such file or directory, open '/Users/admin/Documents/workspace/coachcommune/services/2checkoutService.ts'
  at Error (native)
"><pre class="notranslate"><code class="notranslate">At events.js:141

Error: ENOENT: no such file or directory, open '/Users/admin/Documents/workspace/coachcommune/services/2checkoutService.ts'
  at Error (native)

</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     -7:18 linter:lint (atom-text-editor.editor)
     -7:06.1.0 core:backspace (atom-text-editor.editor.mini)
     -7:05.8.0 core:confirm (atom-text-editor.editor.mini)
     -7:05.8.0 linter:lint (atom-text-editor.editor)
     -6:55.9.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-dracula-theme.theme-unity-ui)
  4x -4:20.8.0 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-dracula-theme.theme-unity-ui)
     -2:56.9.0 core:confirm (atom-text-editor.editor.mini)
     -2:24.1.0 core:backspace (atom-text-editor.editor.mini)
     -2:18.8.0 core:cancel (atom-text-editor.editor.mini)
  2x -1:52.5.0 core:confirm (atom-text-editor.editor.mini)
     -1:28.3.0 core:cut (atom-text-editor.editor)
     -1:21.9.0 core:paste (atom-text-editor.editor)
     -1:14.7.0 core:save (atom-text-editor.editor)
  2x -1:11.9.0 linter:lint (atom-text-editor.editor)
     -0:07.8.0 core:save (atom-text-editor.editor)
     -0:07.2.0 core:close (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate">     -7:18 linter:lint (atom-text-editor.editor)
     -7:06.1.0 core:backspace (atom-text-editor.editor.mini)
     -7:05.8.0 core:confirm (atom-text-editor.editor.mini)
     -7:05.8.0 linter:lint (atom-text-editor.editor)
     -6:55.9.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-dracula-theme.theme-unity-ui)
  4x -4:20.8.0 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-dracula-theme.theme-unity-ui)
     -2:56.9.0 core:confirm (atom-text-editor.editor.mini)
     -2:24.1.0 core:backspace (atom-text-editor.editor.mini)
     -2:18.8.0 core:cancel (atom-text-editor.editor.mini)
  2x -1:52.5.0 core:confirm (atom-text-editor.editor.mini)
     -1:28.3.0 core:cut (atom-text-editor.editor)
     -1:21.9.0 core:paste (atom-text-editor.editor)
     -1:14.7.0 core:save (atom-text-editor.editor)
  2x -1:11.9.0 linter:lint (atom-text-editor.editor)
     -0:07.8.0 core:save (atom-text-editor.editor)
     -0:07.2.0 core:close (atom-text-editor.editor)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;themes&quot;: [
      &quot;unity-ui&quot;,
      &quot;dracula-theme&quot;
    ],
    &quot;disabledPackages&quot;: [
      &quot;sublime-tabs&quot;,
      &quot;atomatigit&quot;,
      &quot;autocomplete-paths&quot;,
      &quot;autocomplete-html&quot;,
      &quot;language-java&quot;,
      &quot;language-make&quot;,
      &quot;language-objective-c&quot;,
      &quot;language-perl&quot;,
      &quot;language-php&quot;,
      &quot;language-python&quot;,
      &quot;language-ruby&quot;,
      &quot;language-ruby-on-rails&quot;,
      &quot;language-sass&quot;,
      &quot;language-sql&quot;,
      &quot;language-xml&quot;,
      &quot;dev-live-reload&quot;,
      &quot;language-coffee-script&quot;,
      &quot;language-csharp&quot;,
      &quot;language-go&quot;,
      &quot;language-toml&quot;,
      &quot;project-manager&quot;,
      &quot;merge-conflicts&quot;,
      &quot;color-picker&quot;,
      &quot;jumpy&quot;,
      &quot;linter&quot;,
      &quot;linter-tslint&quot;,
      &quot;angularjs&quot;
    ]
  },
  &quot;editor&quot;: {
    &quot;invisibles&quot;: {},
    &quot;showIndentGuide&quot;: true,
    &quot;softWrapAtPreferredLineLength&quot;: true
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"themes"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>unity-ui<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>dracula-theme<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"disabledPackages"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>sublime-tabs<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>atomatigit<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>autocomplete-paths<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>autocomplete-html<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-java<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-make<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-objective-c<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-perl<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-php<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-python<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-ruby<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-ruby-on-rails<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-sass<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-sql<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-xml<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>dev-live-reload<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-coffee-script<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-csharp<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-go<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>language-toml<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>project-manager<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>merge-conflicts<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>color-picker<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>jumpy<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>linter<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>linter-tslint<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>angularjs<span class="pl-pds">"</span></span>
    ]
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"invisibles"</span>: {},
    <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"softWrapAtPreferredLineLength"</span>: <span class="pl-c1">true</span>
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
angularjs-styleguide-snippets, v0.7.0
atom-beautify, v0.24.1
atom-typescript, v3.0.4
autocomplete-plus, v2.12.0
dracula-theme, v0.7.6
editorconfig, v0.3.3
emmet, v2.3.8
unity-ui, v2.0.5

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
angularjs<span class="pl-k">-</span>styleguide<span class="pl-k">-</span>snippets, v0.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">24</span>.<span class="pl-ii">1</span>
atom<span class="pl-k">-</span>typescript, v3.<span class="pl-ii">0</span>.<span class="pl-ii">4</span>
autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span>
dracula<span class="pl-k">-</span>theme, v0.<span class="pl-ii">7</span>.<span class="pl-ii">6</span>
editorconfig, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span>
emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">8</span>
unity<span class="pl-k">-</span>ui, v2.<span class="pl-ii">0</span>.<span class="pl-ii">5</span>

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">Some repro steps that I gathered from the existing issues:</p>
<ol dir="auto">
<li>Have a file open in branch <code class="notranslate">something</code> that doesn't exist in branch <code class="notranslate">atom</code></li>
<li><code class="notranslate">git checkout atom</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="boom" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png">💥</g-emoji><br>
OR</li>
<li>Have a file open in Atom that will be affected by <code class="notranslate">git rebase</code></li>
<li><code class="notranslate">git rebase</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji><br>
OR<br>
Just simply rename a file outside of Atom that's currently open inside of Atom.</li>
</ol>