From bbf68ed79445690306f909aa04e62bc96426e517 Mon Sep 17 00:00:00 2001 From: Ryuichi Inagaki Date: Thu, 9 Aug 2018 19:45:03 +1000 Subject: [PATCH] ref #21 Bump up version to v1.6.0 --- CHANGELOG.md | 6 +++++- README.md | 28 +++++++++++++++++++++++----- package.json | 2 +- 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf78ef3..6718378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to "Text Marker (Highlighter)" extension will be documented The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.6.0] - 2018-08-09 +### Added +- New configuration for individually show/hide Text Marker commands on the context menu. [#21](https://github.com/ryu1kn/vscode-text-marker/issues/21) + ## [1.5.0] - 2018-08-06 ### Added - Auto-scroll window if a new cursor location is out of the visible area. [#20](https://github.com/ryu1kn/vscode-text-marker/issues/20) @@ -21,7 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [1.3.0] - 2018-06-22 ### Added - New configurations to set default modes for case sensitivity and whole match. [#19](https://github.com/ryu1kn/vscode-text-marker/issues/19) - + ## [1.2.0] - 2018-06-21 ### Added - Text colour can be automatically chosen so that it stands out from the background highlight. Thanks to @Kronuz ! diff --git a/README.md b/README.md index 9e6d92e..41e1720 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,13 @@ You can update a highlight rule after you set it. Move the cursor to the next location of the same highlight. Highlight selection or the word under cursor first if the cursor is not on a highlight. Available on right-click menu. - + * `Go to Previous Same Highlight` (**Command ID**: `textmarker.goToPreviousHighlight`) Move the cursor to the previous location of the same highlight. Highlight selection or the word under cursor first if the cursor is not on a highlight. Available on right-click menu. - + * `Highlight Text Using Regex` (**Command ID**: `textmarker.highlightUsingRegex`) Highlight text that matches a given regular expression. @@ -98,11 +98,11 @@ You can update a highlight rule after you set it. * `textmarker.defaultHighlightColor` (default: `"gray"`) Once all the colours given in `textmarker.highlightColors` is used, texts are highlighted with this colour. - + * `textmarker.enableIgnoreCase` (default: `false`) Enable ignore case mode on startup - + * `textmarker.enableWholeMatch` (default: `false`) Enable whole match mode on startup @@ -117,10 +117,28 @@ You can update a highlight rule after you set it. Text colour will be chosen to be distinctive from the background highlight colour. This will hide the text colour given by syntax highlighting; if this is not desirable, set it `false`. -* `textmarker.delayForRefreshingHighlight` +* `textmarker.delayForRefreshingHighlight` (default: `300`) Number of milliseconds to wait before refreshing the highlights on editor contents change. `null` for no refresh. +* `textmarker.commandsOnContextMenu` (default: 4 commands are visible. See them [here](https://github.com/ryu1kn/vscode-text-marker/blob/c8fcadd3b9271b46c7de1b15c776e6d4889aa35e/package.json#L109)) + + Commands appear on the context menu. For historical reason, 4 commands are visible by default. + + For example, if you: + + * Do NOT want to see **Update Highlight** command (Command ID: `textmarker.updateHighlight`), which is on the menu by default + * Want to see **Clear All Highlights** (Command ID: `textmarker.clearAllHighlight`), which is NOT on the menu by default + + You can set this setting like this: + + ``` + "textmarker.commandsOnContextMenu": { + "updateHighlight": false, + "clearAllHighlight": true + } + ``` + * `textmarker.savedHighlights` List of highlights that will get applied when opening editor. diff --git a/package.json b/package.json index d0a659c..dcebcb3 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "text-marker", "displayName": "Text Marker (Highlighter)", "description": "Select text in your code and mark all matches. The highlight colour is configurable", - "version": "1.5.0", + "version": "1.6.0", "publisher": "ryu1kn", "license": "SEE LICENSE IN LICENSE.txt", "icon": "images/text-marker.png",