Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DSM VSCode HelperNew to Visual Studio Code? Get it now.
DSM VSCode Helper

DSM VSCode Helper

DesignSystemsCollective

|
4 installs
| (0) | Free
Helper for managing DesignSystems.media
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DesignSystems.media Helper extension

A VS Code extension that allows you to quickly add YouTube URLs to an ignore list and clean up your workspace by removing the containing directory.

Features

  • Right-click context menu - Add "Add to ignore list" option when text is selected
  • YouTube URL validation - Only works with valid YouTube URLs
  • Repository scoping - Configure which GitHub repositories can use this extension
  • Automatic cleanup - Deletes the directory containing the current file after adding URL to ignore list
  • Safe operations - Confirmation dialogs and error handling

Usage

  1. Select a YouTube URL in any file (e.g., https://www.youtube.com/watch?v=abc123)
  2. Right-click on the selected text
  3. Choose "Add to ignore list" from the context menu
  4. The URL will be added to /video-aggregator/data/ignore.json
  5. Confirm deletion of the directory containing the current file

Usage Demo

Configuration

Allowed Repositories

Configure which GitHub repositories can use this extension:

  1. Open VS Code Settings (Ctrl/Cmd + ,)
  2. Search for "YouTube URL Ignorer"
  3. Add repositories to "Allowed Repositories" list
  4. Format: username/repository-name

Example:

{
  "youtubeUrlIgnorer.allowedRepositories": [
    "your-username/video-project",
    "company/content-aggregator"
  ]
}

Requirements

  • Git repository - Must be working in a Git-enabled workspace
  • GitHub remote - Repository must have a GitHub remote origin
  • File system access - Extension needs permission to read/write files and delete directories

Supported URL Formats

The extension recognizes these YouTube URL formats:

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • http:// variants of the above

File Structure

The extension expects and creates:

your-repo/
├── video-aggregator/
│   └── data/
│       └── ignore.json    # URLs are added here
└── other-files...

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "YouTube URL Ignorer"
  4. Click Install

From VSIX File

  1. Download the .vsix file from releases
  2. Open VS Code
  3. Run Extensions: Install from VSIX... from Command Palette
  4. Select the downloaded file

Development

Prerequisites

  • Node.js 16+
  • VS Code

Setup

git clone <your-repo-url>
cd youtube-url-ignorer
npm install
npm run compile

Testing

  1. Press F5 to open Extension Development Host
  2. Test the extension in the new VS Code window

Building

npm install -g vsce
vsce package

Security & Safety

  • Repository validation - Only works in configured GitHub repositories
  • URL validation - Verifies selected text is a valid YouTube URL
  • Confirmation dialogs - Asks before deleting directories
  • Error handling - Graceful failure with user-friendly messages

Changelog

0.0.1

  • Initial release
  • Basic YouTube URL detection and ignore list functionality
  • Repository scoping
  • Directory deletion with confirmation

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

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

Support

If you encounter any issues or have feature requests:

  1. Check existing GitHub Issues
  2. Create a new issue with detailed description
  3. Include VS Code version, extension version, and steps to reproduce

Author

Josh Harwood


Note: This extension is designed for specific workflow automation. Use with caution as it deletes directories permanently.

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