Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.3
24 January 2024

- Clarify the keybindings in the README.

## 1.0.2
24 January 2024

Expand Down
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@ The extension does two things, it:

There are options for how you want the message to be displayed. You can show the usual popup "toast" message at the bottom right of VS Code, which disappears after a while. Alternatively, you can display a modal popup, which you have to click to dismiss.

To use the extension, either:
- Use a keypress:
- 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)**.
## Using the extension

In a Markdown file that contains Liquid version tags, place the cursor in the text for which you want to identify the versioning, then:

- To see the versioning in a "toast" popup, click:
- <kbd>control</kbd>+<kbd>command</kbd>+<kbd>v</kbd> on MacOS
- <kbd>alt</kbd>+<kbd>j</kbd> on Windows

- To see the versioning in a modal dialog, click:
- <kbd>shift</kbd>+<kbd>control</kbd>+<kbd>command</kbd>+<kbd>v</kbd> on MacOS
- <kbd>shift</kbd>+<kbd>alt</kbd>+<kbd>j</kbd> on Windows

Alternatively, 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
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": "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.2",
"version": "1.0.3",
"publisher": "AlistairChristie",
"license": "See the LICENSE file",
"keywords": [
Expand Down
Binary file added version-identifier-1.0.3.vsix
Binary file not shown.