Skip to content

Commit 98c8985

Browse files
committed
Add help page f1 shortchut
1 parent 86bbdcb commit 98c8985

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

WorkspaceLauncherForVSCode/Pages/VisualStudioCodePage.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ IPinService pinService
8686
_vscodeWatcherService.TriggerRefresh += (s, e) => RefreshWorkspacesInBackground();
8787
_vsWatcherService.TriggerRefresh += (s, e) => RefreshWorkspacesInBackground();
8888

89-
_helpCommandContextItem = new CommandContextItem(new HelpPage(settingsManager, null));
89+
_helpCommandContextItem = new CommandContextItem(new HelpPage(settingsManager, null))
90+
{
91+
RequestedShortcut = KeyChordHelpers.FromModifiers(false, false, false, false, (int)VirtualKey.F1, 0),
92+
};
9093
_refreshWorkspacesCommand = refreshWorkspacesCommand;
9194
_refreshWorkspacesCommand.TriggerRefresh += (s, e) => StartRefresh();
9295
_refreshWorkspacesCommandContextItem = new CommandContextItem(_refreshWorkspacesCommand)

0 commit comments

Comments
 (0)