Quick Explorer
Quick and interactive explorer for VSCode
Features
- Explorer Integration: Adds a "Quick Explorer" panel to the VSCode Explorer sidebar
- Directory Navigation: Click on folders to navigate through directories
- Parent Directory Navigation: Use ".." to move up to the parent directory
- File Opening: Click on files to open them in the VSCode editor
- Project Root Restriction: Cannot navigate above the project root directory
- Relative Path Display: View title shows the relative path from the project root
- Icon Support: Folders and files are displayed with appropriate icons
- Quick Settings Access: Click the gear icon in the view header to access extension settings
Installation
From VSIX File
- Download the latest
.vsix file from the Releases page
- Open VSCode
- Go to Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
- Click the "..." menu and select "Install from VSIX..."
- Select the downloaded
.vsix file
From Source
Clone this repository:
git clone https://github.com/NaokiIshimura/vscode-quick-explorer.git
cd vscode-quick-explorer
Install dependencies:
npm install
Compile the extension:
npm run compile
Press F5 to open a new VSCode window with the extension loaded
Usage
- Open the Explorer sidebar in VSCode
- Find the "Quick Explorer" panel
- Click on folders to navigate into them
- Click on ".." to go to the parent directory
- Click on files to open them in the editor
- The view title shows your current location relative to the project root
Settings
This extension provides the following configuration options:
quickExplorer.defaultPath: Default directory to open on startup
- Type:
string
- Default:
"" (uses workspace root or home directory)
- Description: Specify an absolute path or a relative path from the workspace root. If empty, the workspace root or home directory will be used.
To configure this setting:
- Click the gear icon in the Quick Explorer view header, or
- Go to File > Preferences > Settings and search for "Quick Explorer"
Requirements
- VSCode version 1.105.0 or higher
Development
Project Structure
vscode-quick-explorer/
├── src/
│ ├── extension.ts # Extension entry point
│ ├── quickExplorerViewProvider.ts # TreeDataProvider implementation
│ ├── quickExplorerTreeItem.ts # Tree item implementations
│ └── fileSystemService.ts # File system operations
├── out/ # Compiled JavaScript files
├── package.json # Extension manifest
└── tsconfig.json # TypeScript configuration
Build Commands
npm run compile - Compile TypeScript to JavaScript
npm run watch - Watch mode for development
npm run lint - Run ESLint
Building VSIX
To create a .vsix package:
npx vsce package
License
ISC
Repository
https://github.com/NaokiIshimura/vscode-quick-explorer
| |