Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjeldgaard committed Sep 26, 2020
1 parent 9b8d5b7 commit e40fcf8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Change Log
#### Version 0.2.0
- [breaking change] Added 'postfix' string. Update extension configuration with 'postfix' field
- Added icon.

#### Version 0.1.2
Fix version numbering.
- Fix version numbering.

#### Version 0.1.1
Updated README.md
- Updated README.md

#### Version 0.1.0
Updated extension to meet Marketplace requirements.
- Updated extension to meet Marketplace requirements.

#### Version 0.0.1
Initial version with basic regex search, match and generate url link.
- Initial version with basic regex search, match and generate url link.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,41 @@
This is the README for the Visual Studio Code extension named "Regex Show Go".

## Features
When hovering a line in Visual Studio Code, the line text is matched against one or several regex patterns. If a match is found, a hover box is shown with a link which is created from a match-prefix and the actual match. See Extension Settings section for configuration.
When hovering a line in Visual Studio Code, the line text is matched against one or several regex patterns. If a match is found, a hover box is shown with a link which is created from a match-prefix and the actual match and a match-postfix. See Extension Settings section for configuration.

## Extension Settings
To use the extension, you must configure a regex match pattern and a match prefix. See configuration example:
```
"regex_show_go.config.match": [
{
"match_pattern": "WIKI[0-9-]+",
"prefix": "https://duckduckgo.com/?q="
"prefix": "https://duckduckgo.com/?q=",
"postfix" ""
},
{
"match_pattern": "TEST[0-9-]+",
"prefix": "https://www.imdb.com/find?q="
"postfix": "-test"
}
```
If a line contains the word "WIKI-123", the following link is generated "https://duckduckgo.com/?q=WIKI-123" when hovering the line.

## Release Notes
#### Version 0.2.0
- [breaking change] Added 'postfix' string. Update extension configuration with 'postfix' field
- Added icon.

#### Version 0.1.2
Fix version numbering.
- Fix version numbering.

#### Version 0.1.1
Updated README.md
- Updated README.md

#### Version 0.1.0
Updated extension to meet Marketplace requirements.
- Updated extension to meet Marketplace requirements.

#### Version 0.0.1
Initial version with basic regex search, match and generate url link.
- Initial version with basic regex search, match and generate url link.

## Known Issues
None
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Regex Show Go",
"publisher": "Kjeldgaard",
"description": "",
"version": "0.1.2",
"version": "0.2.0",
"engines": {
"vscode": "^1.46.0"
},
Expand Down

0 comments on commit e40fcf8

Please sign in to comment.