codefori / codefori/vscode-ibmi

Custom keybindings for Run Action don't work

Open
#2,927 3 comments 0 reactions 0 assignees View on GitHub
vscode-api
Dominant language
TypeScript
Stars
418
Forks
160
Avg merge
4d 19h
Merged PRs (30d)
12

Description

Custom keybindings for Run Action do not work as expected. Editing the keybinding via the Keyboard Shortcuts interface causes VSCode to throw a "Cannot read properties of undefined (reading 'resourceUri')" warning. The current workaround I'm using is to add `"args": "editor"` to the keybinding definition in `keybindings.json`. This resolves the problem, but doesn't address the underlying issue. See the latest comments on https://github.com/codefori/vscode-ibmi/pull/2867 for more information about the workaround.


|Context|Version|
|-|-|
|Code for IBM i version|2.17.2|
|Visual Studio Code version|1.105.0|
|Operating System|win32_x64|

Active extensions

```
Atlassian: Jira, Rovo Dev, Bitbucket (atlascode): 4.0.4
COBOL (cobol): 25.10.11
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.15.1
ESLint (vscode-eslint): 3.0.16
EditorConfig for VS Code (EditorConfig): 0.17.4
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.26.0
Extension Authoring (extension-editing): 1.0.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitHub Copilot (copilot): 1.372.0
GitHub Copilot Chat (copilot-chat): 0.32.1
GitLens — Git supercharged (gitlens): 17.6.1
IBM i Debug (ibmidebug): 3.0.0
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.3
JSON Language Features (json-language-features): 1.0.0
Live Share (vsliveshare): 1.0.5959
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
NPM support for VS Code (npm): 1.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Prettier - Code formatter (prettier-vscode): 11.0.0
RPGLE (vscode-rpgle): 0.33.2
Server Ready Action (debug-server-ready): 1.0.0
Source Orbit (vscode-sourceorbit): 1.4.1
Todo Tree (todo-tree): 0.0.226
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
Vim (vim): 1.31.0
YAML (vscode-yaml): 1.19.1
```


Remote system

|Setting|Value|
|-|-|
|IBM i OS|V7R5M0|
|Tech Refresh|6|
|CCSID Origin|37|
|Runtime CCSID|37|
|Default CCSID|37|
|SSHD CCSID|?|
|cqsh|true|
|SQL|Enabled
|Source dates|Enabled

### Enabled features

|/QOpenSys/pkgs/bin|/usr/bin|/QSYS.lib/ILEDITOR.lib|/QSYS.LIB|/QIBM/ProdData/IBMiDebugService/bin|/QOpenSys/QIBM/ProdData/JavaVM/jdk80|/QOpenSys/QIBM/ProdData/JavaVM/jdk11|/QOpenSys/QIBM/ProdData/JavaVM/jdk17|/QOpensys/pkgs/lib/jvm|
|-|-|-|-|-|-|-|-|-|
|bash|attr|GETNEWLIBL.PGM|QZDFMDB2.PGM|startDebugService.sh|64bit|64bit|64bit|openjdk-11|
|chsh|iconv||||||||
|find|setccsid||||||||
|git|uname||||||||
|grep|||||||||
|ls|||||||||
|md5sum|||||||||
|pfgrep|||||||||
|sort|||||||||
|stat|||||||||
|tar|||||||||
|tn5250|||||||||

Variants

```json
{
"american": "#@$",
"local": "#@$",
"qsysNameRegex": {}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.