You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-10Lines changed: 42 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,16 +26,48 @@ TODO: ADD A SCREENSHOT
26
26
27
27
## Extension Settings
28
28
29
-
TODO......
30
-
31
-
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
32
-
33
-
For example:
34
-
35
-
This extension contributes the following settings:
36
-
37
-
*`myExtension.enable`: Enable/disable this extension.
38
-
*`myExtension.thing`: Set to `blah` to do something.
29
+
You can change the settings for the tag highlighting and the keyboard shortcuts to run the extension.
30
+
31
+
### Tag highlighting colors
32
+
33
+
The extension uses an array of color pairs (background color and the color of the text) to highlight the version tags. You can change the colors by editing the `versionIdentifier.colors` setting in your `settings.json` file.
34
+
35
+
To change the highlighing colors:
36
+
37
+
1. Open the VS Code settings editor (<kbd>Ctrl</kbd>+<kbd>,</kbd> (Windows/Linux) or <kbd>command</kbd>+<kbd>,</kbd> (Mac)).
38
+
1. Search for `version`.
39
+
1. Under "Version-identifier: Color Pairs", click **Edit in settings.json**.
40
+
1. Change the colors in the `versionIdentifier.colors` array as required. For example:
41
+
42
+
```json
43
+
"version-identifier.colorPairs": [
44
+
{
45
+
"backgroundColor": "orange",
46
+
"color": "blue"
47
+
},
48
+
{
49
+
"backgroundColor": "yellow",
50
+
"color": "red"
51
+
},
52
+
{
53
+
"backgroundColor": "green",
54
+
"color": "black"
55
+
}
56
+
]
57
+
```
58
+
59
+
### Keyboard shortcuts
60
+
61
+
To change the default keyboard shortcuts:
62
+
63
+
1. Open 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)).
64
+
1. Search for `shortcut`.
65
+
1. Select **Preferences: Open Keyboard Shortcuts** (note: not **Preferences: Open Keyboard Shortcuts (JSON)**).
66
+
1. Search for `versioning`.
67
+
1. Hover over **Versioning identification (Toast)** or **Versioning identification (Modal)** and click the pencil icon to the left of the command name.
68
+
1. Press the key combination you want to use for the command, then press Enter.
69
+
70
+
The new shortcut is immediately available for use.
0 commit comments