Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MR AutomatorNew to Visual Studio Code? Get it now.
MR Automator

MR Automator

Phuc Binh

|
1 install
| (0) | Free
Quickly create GitLab Merge Requests based on branch naming convention.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MR Automator

MR Automator helps you speed up your GitLab workflow by automatically generating Merge Request links based on your branch name conventions.

Designed for workflows where feature branches follow a strict naming pattern (e.g., KHA-[feature]-dev).

Features

  • One-Click MR Creation: Automatically opens two browser tabs with pre-filled Merge Request pages.
    1. Current Branch → Development Branch (e.g., feature → dev)
    2. Development Branch → Staging/Review Environment (e.g., dev → staging)
  • Branch Name Parsing: Extracts the feature ID/Name from your current branch using Regex.
  • Configurable: Customize the GitLab URL and the Regex pattern to fit your team's convention.

Usage

  1. Checkout your feature branch (e.g., KHA-LoginFix-dev).
  2. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P).
  3. Run command: MR Automator: Open Merge Requests.
  4. The extension will open your default browser with the MR creation pages.

Extension Settings

This extension contributes the following settings:

  • mrAutomator.gitlabUrl: The base URL of your GitLab instance (default: https://gitlab.com).
  • mrAutomator.nameRegex: The Regex used to extract the feature name. Must contain one capture group ().
    • Default: KHA-(.+?)-dev matching branches like KHA-MyFeature-dev.

Requirements

  • A project with a git repository.
  • GitLab as the remote (or a compatible remote URL).

Known Issues

  • If your branch does not match the configured Regex, the command will show an error.

Release Notes

0.0.1

Initial release of MR Automator.

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