-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderskeybindingsVS Code keybinding issuesVS Code keybinding issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
- VSCode Version: 1.0.0
- OS Version: OS X El Capitan 10.11.4
Steps to Reproduce:
I'm trying to bind quick open (ctrl+p) command to shift shift (shift x2) keys like IntelliJ IDEA in VS Code Extension (TypeScript).
But vscode.commands.registerCommand('type', (args) => args.text) can't detect shfit key.
How can I detect shift shift key?
// VSCode v0.10.12 or higher (not working <= v0.10.11)
'use strict';
import * as vscode from 'vscode';
export function activate(context: vscode.ExtensionContext) {
let disposable = vscode.commands.registerCommand('type', (args) => {
vscode.window.showInformationMessage(args.text);
vscode.commands.executeCommand('default:type', {
text: args.text
});
});
context.subscriptions.push(disposable);
}onurtemizkan, benjamincharity, boozook, deecewan, osminogin and 161 morevincevargadev, BradenM, fdoyle, Curve, s0me0ther and 3 morefdoyle, Curve, s0me0ther, lucastrvsn and doanhaivushirbr510, andyleach, AdrieanKhisbe, rn0, perseus-me and 23 morevincevargadev, fdoyle, Curve, alimoezzi, s0me0ther and 2 more
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderskeybindingsVS Code keybinding issuesVS Code keybinding issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded