Skip to content

Commit

Permalink
Fix search field is not auto focused
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnLin013 committed Jan 10, 2018
1 parent 80364f4 commit 4d693d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ function activate(context) {
var name = path.basename(fileUri.fsPath);
ncp.copy(name, function() {
vscode.commands.executeCommand('workbench.action.findInFiles');
vscode.commands.executeCommand('workbench.action.search.toggleQueryDetails');
vscode.commands.executeCommand('workbench.action.search.toggleQueryDetails');
vscode.commands.executeCommand('editor.action.clipboardPasteAction');
vscode.commands.executeCommand('toggleSearchWholeWord');
vscode.commands.executeCommand('toggleSearchWholeWord');
})
});
}
});
context.subscriptions.push(disposable);
Expand Down

0 comments on commit 4d693d2

Please sign in to comment.