|
8 | 8 |
|
9 | 9 | <p align="center"> |
10 | 10 | <a href="https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-hide-comments" title="Check it out on the Visual Studio Marketplace"> |
11 | | - <img src="https://vsmarketplacebadge.apphb.com/version/eliostruyf.vscode-hide-comments.svg" alt="Visual Studio Marketplace" style="display: inline-block" /> |
| 11 | + <img src="https://vsmarketplacebadges.dev/version/eliostruyf.vscode-hide-comments.svg" alt="Visual Studio Marketplace" style="display: inline-block" /> |
12 | 12 | </a> |
13 | 13 |
|
14 | | - <img src="https://vsmarketplacebadge.apphb.com/installs/eliostruyf.vscode-hide-comments.svg" alt="Number of installs" style="display: inline-block;margin-left:10px" /> |
| 14 | + <img src="https://vsmarketplacebadges.dev/installs/eliostruyf.vscode-hide-comments.svg" alt="Number of installs" style="display: inline-block;margin-left:10px" /> |
15 | 15 |
|
16 | | - <img src="https://vsmarketplacebadge.apphb.com/rating/eliostruyf.vscode-hide-comments.svg" alt="Ratings" style="display: inline-block;margin-left:10px" /> |
| 16 | + <img src="https://vsmarketplacebadges.dev/rating/eliostruyf.vscode-hide-comments.svg" alt="Ratings" style="display: inline-block;margin-left:10px" /> |
17 | 17 |
|
18 | 18 | <a href="https://www.buymeacoffee.com/zMeFRy9" title="Buy me a coffee" style="margin-left:10px"> |
19 | 19 | <img src="https://img.shields.io/badge/Buy%20me%20a%20coffee-€%203-blue?logo=buy-me-a-coffee&style=flat" alt="Buy me a coffee" style="display: inline-block" /> |
@@ -52,10 +52,21 @@ On the editor title, a toggle action is available to show/hide the comments quic |
52 | 52 |
|
53 | 53 | The extension currently has the following commands: |
54 | 54 |
|
55 | | -1. `Hide Comments: Hide all comments` |
56 | | -2. `Hide Comments: Show all comments` |
57 | | -3. `Hide Comments: Show lines by regex`: this command is only available when the `hideComments.regex` setting is set. |
58 | | -4. `Hide Comments: hide lines by regex`: this command is only available when the `hideComments.regex` setting is set. |
| 55 | +1. `Hide Comments: Toggle the show/hide of all comments` |
| 56 | +2. `Hide Comments: Hide all comments` |
| 57 | +3. `Hide Comments: Show all comments` |
| 58 | +4. `Hide Comments: Show lines by regex`: this command is only available when the `hideComments.regex` setting is set. |
| 59 | +5. `Hide Comments: hide lines by regex`: this command is only available when the `hideComments.regex` setting is set. |
| 60 | + |
| 61 | +### Keybindings |
| 62 | + |
| 63 | +The extension does not have any default keybindings. You can add your own keybindings to the commands from within Visual Studio Code it UI. Steps to do this: |
| 64 | + |
| 65 | +1. Open the command palette: `Ctrl+Shift+P` or `Cmd+Shift+P`; |
| 66 | +2. Type the command you want to add a keybinding. Example: `Hide Comments: Toggle the show/hide of all comments`; |
| 67 | +3. Click on the gear icon next to the command in the command palette. This opens the keyboard shortcuts editor; |
| 68 | +4. Add your keybinding and you are all set. |
| 69 | + |
59 | 70 |
|
60 | 71 | ## Hide additional lines by regex |
61 | 72 |
|
@@ -93,6 +104,6 @@ Please submit them via creating an issue in the project repository: [issue list] |
93 | 104 |
|
94 | 105 | <p align="center"> |
95 | 106 | <a href="#"> |
96 | | - <img src="https://estruyf-github.azurewebsites.net/api/VisitorHit?user=estruyf&repo=vscode-hide-comments&countColor=%23F141A8&labelColor=%230E131F" /> |
| 107 | + <img src="https://api.visitorbadge.io/api/VisitorHit?user=estruyf&repo=vscode-hide-comments&countColor=%23F141A8&labelColor=%230E131F" /> |
97 | 108 | </a> |
98 | 109 | </p> |
0 commit comments