Skip to content

fix: make review.openLocalFile support triggering from the keyboard. - #5840

Merged
Alex Ross (alexr00) merged 1 commit into
microsoft:mainfrom
ipcjs:pr-openLocalFile-keybinds
Mar 18, 2024
Merged

Alex Ross (alexr00) merged 1 commit into
microsoft:mainfrom
ipcjs:pr-openLocalFile-keybinds

Conversation

@ipcjs

Copy link
Copy Markdown
Contributor

After configuring a keyboard shortcut for the review.openLocalFile command, triggering the keyboard shortcut will report the following error:

2024-03-18 14:43:41.194 [error] TypeError: Cannot read properties of undefined (reading 'query')
	at /Users/ipcjs/.vscode/extensions/github.vscode-pull-request-github-0.82.0/dist/extension.js:2024:1200
	at l.h (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:184839)
	at l.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:185699)

This PR fixes this issue.

@alexr00 Alex Ross (alexr00) added this to the March 2024 milestone Mar 18, 2024

@alexr00 Alex Ross (alexr00) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the PR!

@alexr00
Alex Ross (alexr00) enabled auto-merge (squash) March 18, 2024 08:59
@alexr00
Alex Ross (alexr00) merged commit cc56054 into microsoft:main Mar 18, 2024
@ipcjs
ipcjs (ipcjs) deleted the pr-openLocalFile-keybinds branch March 18, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants