codesandbox / codesandbox/codesandbox-client

Add VS Code binding for showActiveFileInExplorer for switching to Explorer sidebar

Open
#1,635 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🤔 Improvement VS Code
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🌈 Feature

I would like to configure a shortcut key for VS Code's workbench.files.action.showActiveFileInExplorer Action:

https://github.com/karlhorky/dotfiles/blob/99d27494eac1a755a930387dacf52569484f0234/settings/Library/Application%20Support/Code/User/keybindings.json#L67-L70

I would settle for a shortcut key to show the explorer. Is there anything like this or any way to do this easily while in VS Code mode?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the VS Code mode keybinding implementation in the repository and compare it with VS Code's workbench.files.action.showActiveFileInExplorer action. Confirm how existing shortcuts are registered and test the binding in VS Code mode. Done means the configured shortcut switches to the Explorer sidebar and reveals the active file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.