8000 GitHub - usernamehw/vscode-autolink: Make exernal links from editor text.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

usernamehw/vscode-autolink

Repository files navigation

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.
0