From 92e433d38b25940a10089f955c6d9af3b1682027 Mon Sep 17 00:00:00 2001 From: Yoichi Kawasaki Date: Sun, 18 Aug 2019 16:35:02 +0900 Subject: [PATCH] Release 0.3.0 --- CHANGELOG.md | 3 +++ README.md | 9 ++++++--- package.json | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2565009..7e06efb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to the "jwt-debugger" extension will be documented in this file. +## 0.3.0 +- Disable a command shortcut key (`Ctrl+shift+d` or `Cmd+shift+d` for Mac) when editor has no text selection + ## 0.2.0 - Add a new keybind to execute the command `JWT Debugger Decocde`. Now you can execute the command either in `Command Palette` or with keybind `Ctrl+Shift+d` (Mac: `Cmd+Shift+d`) diff --git a/README.md b/README.md index 9528d9e..048c3a5 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,19 @@ vscode-jwt-debugger allows you to decode JWT. You simply needt to select JWT enc ![](assets/vscode-jwt-debugger.gif) + ## Installation - Open the `Command Palette` of VS Code with `Ctrl + P` or `Cmd + P`(MacOS) - And type: `ext install yokawasa.jwt-debugger` or find at [Marketplace](https://marketplace.visualstudio.com/) -## Commands -- `JWT Debugger Decocde` +## Command & Shortcut +| Command | Shortcut | Description | +| --- | --- | --- | +| `JWT Debugger Decocde` | `Ctrl+Shift+d`
(Mac: `Cmd+Shift+d`) | Decode selected JWT Token text | -> [NOTE] You can execute the command above either in `Command Palette` or with keybind `Ctrl+Shift+d` (Mac: `Cmd+Shift+d`) +> NOTE: The command `JWT Debugger Decocde` and its shortcut key are NOT available when there is no selected text. ## Change Log See [Change Log](CHANGELOG.md) diff --git a/package.json b/package.json index bd78471..9d33a95 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jwt-debugger", "displayName": "JWT Debugger", "description": "JWT tokens decoder - VS Code version of jwt.io debugger", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT", "publisher": "yokawasa", "repository": { @@ -37,7 +37,7 @@ "command": "extension.jwtdebugger.decode", "key": "ctrl+shift+d", "mac": "cmd+shift+d", - "when": "editorTextFocus" + "when": "editorHasSelection" } ], "menus": {