Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Auto-Close Duplicate FileNew to Visual Studio Code? Get it now.
Auto-Close Duplicate File

Auto-Close Duplicate File

Julien Bessac

|
813 installs
| (2) | Free
Auto-Close Duplicate File is an extension for VS Code that automatically closes the file in another window when you open the same file in another window. This extension is useful for developers who work on multi-screen projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto-Close Duplicate File for VS Code

This is the README for the Visual Studio Code extension "auto-close-duplicate-file". This extension automatically closes duplicate tabs when you open a file that is already open in another tab. This prevents you from having multiple copies of the same file open in different sub-screens.

Features

  • Automatically closes duplicate tabs when you open a file that is already open in another tab.

Requirements

  • Visual Studio Code version 1.83.0 or later

How to Use

To use the extension, simply install it from the Visual Studio Code Marketplace. Once installed, you can enable or disable it in the Extensions view.

To close a duplicate tab, simply open the file that is already open in another tab. The extension will automatically close the duplicate tab.

Feedback

I appreciate any feedback you have on this extension. Please feel free to create an issue on GitHub or send me message ❤️.

I Like Coffee Too ☕️

If you find this extension helpful, you can rate it here.

And you can tip me at:

  • BTC: bc1q2vx4df32wjmwdz7zwrqsr92arha0af43kk899f
  • DOGE: DTF6NUkmgJwhALbcJCCXBK4mBcYuS8osxB
  • XMR: 49cvr4tSinueiR37RLF5Pb2SyaszigqQcSBimzuYcYt43ZA5cyiizuiYmvy8FvG5bf7NH7f7PYgVRUFxhWPQfSuqRqUZN7U
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft