Keyboard Shortcut to Start Editing Open File

Issue #446 new
Dean Penfold created an issue

I would like to be able to go from viewing a file in a PR with comments to editing the file with a keybinding. “ALT+E” for example.

{
    "key": "alt+e",
    "command": "atlascode.bb.editThisFile",
    "when": "editorTextFocus && resourceScheme == atlascode.bbpr && config.atlascode.bitbucket.enabled"
  }

I am not sure if this is possible due to the fact that it requires an argument and does not satisfy the “Simple Command” requirement of VSCode (https://code.visualstudio.com/api/references/commands#simple-commands).

Comments (2)

  1. Pramod Busam Account Deactivated

    @Dean Penfold Thanks for the suggestion. You are right that this command is not a simple command currently. We'll investigate if we can get the data from the active editor if input parameters are not passed in.

  2. Log in to comment