Skip to content

Commit

Permalink
Merge pull request #5 from docs/hubwriter/key-bindings-fix
Browse files Browse the repository at this point in the history
Fix keybindings for Windows
  • Loading branch information
hubwriter committed Jan 24, 2024
2 parents 3a47645 + cb0682a commit af9da88
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 114 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 1.0.2
24 January 2024

- Fixed the keybindings for Windows. These are now `alt + j` for the toast popup and `shift + alt + j` for the modal popup.

## 1.0.1
16 January 2024

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ There are options for how you want the message to be displayed. You can show the

To use the extension, either:
- Use a keypress:
- For the "toast" message, press <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>v</kbd> (Windows/Linux) or <kbd>control</kbd>+<kbd>command</kbd>+<kbd>v</kbd> (Mac)
- For the modal popup, press <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>v</kbd> (Windows/Linux) or <kbd>Shift</kbd>+<kbd>control</kbd>+<kbd>command</kbd>+<kbd>v</kbd> (Mac)
- For the "toast" message, press <kbd>Alt</kbd>+<kbd>j</kbd> (Windows/Linux) or <kbd>control</kbd>+<kbd>command</kbd>+<kbd>v</kbd> (Mac)
- For the modal popup, press <kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>j</kbd> (Windows/Linux) or <kbd>Shift</kbd>+<kbd>control</kbd>+<kbd>command</kbd>+<kbd>v</kbd> (Mac)
- Go to the Command Palette (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>p</kbd> (Windows/Linux) or <kbd>Shift</kbd>+<kbd>command</kbd>+<kbd>p</kbd> (Mac)), type `version` and select either **Versioning identification (Toast)** or **Versioning identification (Modal)**.

The extension highlights each set of tags that affects the current cursor position in a different color. In this example, the cursor is in the word "series" on line 112. The text at that point is within a set of tags that's nested within another tag set, that's also nested. So three sets of tags are highlighted. The "toast" popup describes the versioning.
Expand Down
109 changes: 0 additions & 109 deletions package-new.json

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Versioning Identifier",
"description": "Highlight the Liquid versioning that applies at any point within a Markdown file.",
"icon": "images/versioning-identifier-logo-128px.png",
"version": "1.0.1",
"version": "1.0.2",
"publisher": "AlistairChristie",
"license": "See the LICENSE file",
"keywords": [
Expand Down Expand Up @@ -39,13 +39,13 @@
"keybindings": [
{
"command": "version-identifier.runExtensionToast",
"key": "ctrl+cmd+v",
"key": "alt+j",
"mac": "ctrl+cmd+v",
"when": "editorTextFocus"
},
{
"command": "version-identifier.runExtensionModal",
"key": "shift+ctrl+cmd+v",
"key": "shift+alt+j",
"mac": "shift+ctrl+cmd+v",
"when": "editorTextFocus"
},
Expand Down
Binary file added version-identifier-1.0.2.vsix
Binary file not shown.

0 comments on commit af9da88

Please sign in to comment.