Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AutolinkNew to Visual Studio Code? Get it now.
Autolink

Autolink

Alexander

|
1,210 installs
| (1) | Free
Make exernal links from editor text.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Version Installs Rating

Match links in document with external location.

Example

"autolink.queries": [
    {
        "linkPattern": "github#(\\d{1,6})",// RegExp. Will match `github#202` text
        "linkText": "https://github.com/Microsoft/vscode/issues/${0}",// will replace `${0}` with matched group
    },
    {
        "linkPattern": "this#(\\d{1,6})",// RegExp. Will redirect `this#1` to `https://github.com/usernamehw/vscode-autolink/issues/1`
        // will replace `${0}` with matched group
        // will replace `${workspaceFolderBasename}` with opened folder basename
        "linkText": "https://github.com/usernamehw/${workspaceFolderBasename}/issues/${0}",
    },
],

demo.gif

Settings (1)

Setting Default Description
autolink.queries [] Make links from text in the document.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft