From 41982ab8f1e19ff31697bd3089649d2c382f13c9 Mon Sep 17 00:00:00 2001 From: kasecato Date: Sat, 15 Jun 2019 11:09:33 +0900 Subject: [PATCH] Fixed #145 Revert Selected Range --- CHANGELOG.md | 4 ++++ package.json | 8 +------- src/package-with-comment.json | 8 +------- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2502aa..cae5a13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 0.2.33 (June 15, 2019) + +* enhancement - New Binding Request: (VS Code)`Revert Selected Range` can be mapped to `Revert...`(Intellij). See [#145](https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/145) + ## 0.2.32 (May 20, 2019) * enhancement - Revert uncommitted changes shortcut. See [#144](https://github.com/kasecato/vscode-intellij-idea-keybindings/pull/144) diff --git a/package.json b/package.json index 2f92f77..017d3ae 100644 --- a/package.json +++ b/package.json @@ -742,15 +742,9 @@ "key": "ctrl+alt+z", "mac": "cmd+alt+z", "command": "git.revertSelectedRanges", + "when": "editorHasSelection && editorTextFocus && !editorReadonly", "intellij": "Rollback Lines" }, - { - "key": "ctrl+`", - "mac": "ctrl+v", - "command": "workbench.view.scm", - "intellij": "‘VCS’ quick popup", - "todo": "no popup" - }, { "key": "alt+0", "mac": "cmd+0", diff --git a/src/package-with-comment.json b/src/package-with-comment.json index 7a7cafc..2bed0cf 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -1301,6 +1301,7 @@ "key": "ctrl+alt+z", "mac": "cmd+alt+z", "command": "git.revertSelectedRanges", + "when": "editorHasSelection && editorTextFocus && !editorReadonly", "intellij": "Rollback Lines" }, /* @@ -1312,13 +1313,6 @@ "todo": "N/A" }, */ - { - "key": "ctrl+`", - "mac": "ctrl+v", - "command": "workbench.view.scm", - "intellij": "‘VCS’ quick popup", - "todo": "no popup" - }, /*---------------------------------------------------------------*\ * Live Templates \*---------------------------------------------------------------*/