Skip to content

A command-line tool to automatically generate VS Code workspace files from directory structures.

License

Notifications You must be signed in to change notification settings

timhughes/workspace-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workspace Manager for VSCode

A command-line tool to automatically generate VS Code workspace files from directory structures.

Features

  • 📁 Scans directories and creates workspace entries
  • 🏗️ Includes root directory by default
  • 🔄 Updates existing workspace files
  • 🔧 Configurable workspace task
  • 🚫 Ignores hidden folders

Installation

Install from source

Prerequisites:

  • Rust toolchain (1.70 or later)
  • Git
  • Cargo
# Clone the repository
git clone https://github.com/timhughes/workspace-manager.git
cd workspace-manager

# Build and install
cargo build --release
cargo install --path .

Usage

# Create workspace file for current directory
workspace-manager

# Scan specific path (includes current directory by default)
workspace-manager --path /path/to/projects

# Exclude current directory
workspace-manager -p /path/to/projects --exclude-current

# Custom workspace name and update tasks
workspace-manager -p . -n my-workspace --update-task

CLI Options

  • -p, --path <PATH>: Directory to scan (default: current directory)
  • -e, --exclude-current: Exclude current directory from workspace
  • -n, --name <NAME>: Custom name for workspace file
  • -u, --update-tasks: Force update of workspace tasks

License

MIT - See LICENSE file for details

About

A command-line tool to automatically generate VS Code workspace files from directory structures.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages