Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>File OrchestratorNew to Visual Studio Code? Get it now.
File Orchestrator

File Orchestrator

binghan.lin

|
35 installs
| (0) | Free
Efficiently manage related files in your projects. Rename, copy, move, delete files while automatically handling associated files with different extensions. Customizable for various project types and file structures.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

File Orchestrator

File Orchestrator is a powerful VS Code extension that simplifies file management operations for related files in your projects. It allows you to rename, copy, move, delete, and create files while automatically handling associated files with different extensions.

Features

  • Rename Files: Rename a file and all its related files with different extensions.
  • Copy Files: Create copies of a file and its related files.
  • Move Files: Move a file and its related files to a different directory, with an option to rename.
  • Delete Files: Remove a file and all its related files.
  • Create Files: Create new files with specified extensions in a chosen directory.
  • Jump to Related Files: Quickly navigate between related files.
  • Bulk Replace: Perform string replacements across related files.
  • Customizable Extension Lists: Define and use custom lists of related file extensions.

Installation

  1. Open VS Code
  2. Go to the Extensions view
  3. Search for "File Orchestrator"
  4. Click Install

Usage

Commands

File Orchestrator adds the following commands to the Command Palette (Ctrl+Shift+P or Cmd+Shift+P):

  • File Orchestrator: Rename File
  • File Orchestrator: Copy File
  • File Orchestrator: Move File
  • File Orchestrator: Delete File
  • File Orchestrator: Create File
  • File Orchestrator: Jump To Related File
  • File Orchestrator: String Replace In Related Files

Workflow

  1. Open a file in the editor.
  2. Run one of the File Orchestrator commands.
  3. Select the extension list to apply (Default or custom lists).
  4. Follow the prompts to complete the operation.

Extension Lists

File Orchestrator uses extension lists to determine which related files to include in operations. You can configure these lists in your VS Code settings.

Default Extensions

Set the default extensions in your settings.json:

{
    "fileOrchestrator.defaultExtensions": [
        ".cpp",
        ".hpp",
        ".cxx",
        ".hxx",
        ".c",
        ".h"
    ]
}

Custom Extension Lists

Define custom extension lists for different project types:

{
    "fileOrchestrator.customExtensionLists": {
        "Qt-Cpp": [".cpp", ".hpp", ".cxx", ".hxx", ".c", ".h", ".ui"]
    }
}

Keyboard Shortcuts

You can configure a custom keyboard shortcut for the "Jump To Related File" command:

{
    "fileOrchestrator.jumpToRelatedFileShortcut": "alt+p"
}

Examples

Renaming a C++ Component

  1. Open MyComponent.cpp
  2. Run File Orchestrator: Rename File
  3. Select the "Qt-Cpp" extension list
  4. Enter the new name, e.g., "NewComponent"
  5. The extension will rename:
    • MyComponent.cpp to NewComponent.cpp
    • MyComponent.hpp to NewComponent.hpp
    • MyComponent.ui to NewComponent.ui

Moving a Vue Component

  1. Open OldComponent.vue
  2. Run File Orchestrator: Move File
  3. Select the "Vue" extension list
  4. Enter the target directory (relative to workspace root)
  5. Choose whether to rename the file
  6. The extension will move:
    • OldComponent.vue
    • OldComponent.js
    • OldComponent.css

Jumping to Related Files

  1. Open a file, e.g., Component.cpp
  2. Press Alt+P (or your configured shortcut)
  3. Select the related file from the quick pick menu

Bulk Replace in Related Files

  1. Select the text you want to replace in the active file
  2. Run File Orchestrator: String Replace In Related Files
  3. Enter the replacement text
  4. The extension will perform the replacement in all related files

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This extension is licensed under the MIT License.

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