https://github.com/usernamehw/vscode-autolink
Make exernal links from editor text.
https://github.com/usernamehw/vscode-autolink
external link reference url vscode-extension
Last synced: 11 months ago
JSON representation
Make exernal links from editor text.
- Host: GitHub
- URL: https://github.com/usernamehw/vscode-autolink
- Owner: usernamehw
- License: mit
- Created: 2021-07-23T10:40:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T14:19:38.000Z (over 3 years ago)
- Last Synced: 2024-10-28T15:08:56.917Z (over 1 year ago)
- Topics: external, link, reference, url, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=usernamehw.autolink
- Size: 197 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README



Match links in document with external location.
## Example
```js
"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}",
},
],
```

## Settings (1)
|Setting|Default|Description|
|-|-|-|
|autolink.queries|\[\]|Make links from text in the document.|