Quick Open Current Folder
Scope Quick Open to your current workspace folder. See only the files inside that folder, fast and filtered.
Features
- Command: Quick Open Current Folder (
extension.quickOpenCurrentFolder )
- Keybindings (configurable in Keyboard Shortcuts):
- macOS: Ctrl+Cmd+P
- Windows/Linux: Ctrl+Alt+P
- Clear context: shows “Files in {workspaceName}[/subpath]” in the picker
- Respects excludes: uses files.exclude and search.exclude, plus common folders like node_modules, .git, dist
- Fast: uses workspace.findFiles, caches results per folder, and auto-refreshes on file changes
- Status bar hint while the picker is active
How to use
- Open any file inside your workspace.
- Run “Quick Open Current Folder” (from the Command Palette) or use the shortcut above.
- Pick a file from the list (paths are relative to the workspace folder). The file opens immediately.
- If no file is active, you’ll see an information message.
Command
- Quick Open Current Folder:
extension.quickOpenCurrentFolder
Settings
quick-open-current-folder.centeredUI (boolean, default: false)
- When enabled, shows a centered, Spotlight-style overlay picker.
- When disabled, uses VS Code’s native QuickPick overlay.
Notes & limitations
- The picker does not display your installed file icon theme icons. Explorer icons aren’t supported in QuickPick or webview pickers.
- Keybindings apply when the editor has focus. Customize the “when” clause if you want broader scope.
- Exclude patterns merge defaults with your workspace/user settings.
| |