Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>make-backup-filesNew to Visual Studio Code? Get it now.
make-backup-files

make-backup-files

A.Matsukura

|
4 installs
| (0) | Free
A Visual Studio Code extension that automatically creates backups of files on save, with configurable options for backup directory and file exclusions.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Make Backup Files

Make Backup Files is a Visual Studio Code extension that automatically creates backups of your files every time you save them. This extension is highly configurable, allowing you to specify backup directories, exclude certain file extensions, and enable or disable the feature as needed.

Features

  • Automatically creates backups of files on save.
  • Configurable backup directory.
  • Ability to exclude specific file extensions from being backed up.
  • Works seamlessly across Linux, macOS, and Windows.

Configuration

This extension provides the following configuration options:

make-backup-files.enable

  • Type: boolean
  • Default: true
  • Description: Enable or disable the backup files feature.

make-backup-files.backupDirectory

  • Type: string
  • Default: "" (Defaults to ~/.backups on Linux/macOS and %USERPROFILE%\\.backups on Windows.)
  • Description: Specify the directory where backup files will be stored.

make-backup-files.excludeExtensions

  • Type: array
  • Default: ["log", "tmp"]
  • Description: Specify file extensions to exclude from backup. Example: ["log", "tmp"]

Usage

  1. Open any file in Visual Studio Code.
  2. Save the file (Ctrl+S or Cmd+S on macOS).
  3. A backup of the file will be created in the configured backup directory.

License

This project is licensed under the MIT License. See the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft