Skip to content

A way to distinguish inputfocus between rename file and find in explorer? #249924

Open
@doanngochieuo

Description

@doanngochieuo

Say I have:

[
  {
    "key": "cmd+[",
    "command": "list.closeFind",
    "when": "listFocus && filesExplorerFocus && treeFindOpen && filesExplorerFocusFindFocus"
  },
  {
    "key": "cmd+[",
    "command": "list.closeRename",
    "when": "listFocus && filesExplorerFocus && treeFindOpen && !filesExplorerFocusFindFocus"
  },
]

Above won't work as we don't have filesExplorerFocusFindFocus for explorer and list.closeRename --> basically i want to use one keybinding for both dismiss/cancel rename filename in explorer and close find.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions