Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>redirect-editorNew to Visual Studio Code? Get it now.
redirect-editor

redirect-editor

Ilya Nizovtsev

|
5 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Redirector

Browse, search, and navigate URL redirects defined in YAML — directly from VS Code and Cursor.

Redirector reads redirect rules from your workspace, displays them in a tree view, and lets you jump to the exact line in the source file with a single click.

Features

  • Tree view — explore redirect rules with destinations (to) and source paths (from)
  • Grouping — group redirects by the first URL segment (e.g. account, cloud-servers)
  • Search — filter by destination or source path
  • Open at line — click any rule or path to open the YAML file at the correct line
  • Auto-refresh — updates when the redirect file is saved
  • Hide /en redirects — optionally hide English redirect rules

Requirements

Open a workspace folder that contains a YAML file with redirects in the following structure:

app:
  config:
    redirects:
      - to: "/account/"
        from:
          - "/old-account-path/"
          - "/legacy/account/"
      - to: "/cloud-servers/"
        from:
          - "/cloud/"

By default, Redirector looks for helm/values/common.yaml relative to the workspace root.

Getting Started

  1. Install the extension
  2. Open a project that contains your redirect YAML file
  3. Click the Redirector icon in the Activity Bar
  4. Expand groups and rules to explore redirects

Tree View Actions

Button Action
Search Filter redirects by to or from path
Clear search Remove the active filter
Refresh Reload redirects from disk
Settings Open extension settings

Click a destination (to) to jump to its line in the YAML file.
Click a source path (from) to jump to that specific entry.

Configuration

Setting Default Description
redirector.filePath helm/values/common.yaml Path to the redirect YAML file (relative to workspace root)
redirector.groupRedirects true Group redirects by the first URL path segment
redirector.hideEnRedirects false Hide rules whose destination starts with /en/

Example settings.json:

{
  "redirector.filePath": "helm/values/common.yaml",
  "redirector.groupRedirects": true,
  "redirector.hideEnRedirects": false
}

Development

npm install
npm run watch

Press F5 to launch the Extension Development Host. To debug against another project, configure .vscode/launch.json to open the target workspace folder.

Build

npm run compile
npm run package

Package

npx @vscode/vsce package

License

MIT

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