File Explorer Overview
The file explorer is located on the left sidebar and displays your project’s file structure in a tree view.Explorer Components
- Project header - Shows project name and quick action buttons
- Tree view - Hierarchical display of files and folders
- File icons - Visual indicators for different file types
- Folder icons - Distinct icons for directories
- Collapse/expand controls - Chevron icons for navigation
Files and folders are automatically sorted with folders first, then files, both in alphabetical order.
Creating Files and Folders
Quick Creation from Project Header
Hover over the project name to reveal action buttons:Choose action
- File+ icon - Creates a new file in the project root
- Folder+ icon - Creates a new folder in the project root
Context Menu Creation
Create files and folders inside specific directories:File Navigation
Opening Files
Two ways to open files in the editor: Preview Mode (Single-click):- Click once on a file name
- Opens in a preview tab (italicized name)
- Clicking another file replaces the preview
- Perfect for quick browsing
- Double-click a file name
- Opens in a permanent tab (normal name)
- Stays open when clicking other files
- Use for files you’re actively editing
Preview tabs are shown in italic text, while pinned tabs use regular text. You can convert a preview to pinned by double-clicking its tab.
Folder Navigation
- Click folder name to expand/collapse
- Chevron icon rotates to indicate state:
- Right-pointing: Collapsed
- Down-pointing: Expanded
- Nested folders indent further right
- Folders load contents on-demand when expanded
File Operations
Renaming Files and Folders
Deleting Files and Folders
Context Menu Actions
Right-click any file or folder to access: For Files:- Rename
- Delete
- Rename
- Delete
- New File
- New Folder
Project Header Actions
The project header includes several utility buttons:New File
Create a new file in the root directory
New Folder
Create a new folder in the root directory
Collapse All
Collapse all expanded folders at once for a cleaner view
File Icons
The explorer displays contextual icons for different file types:- JavaScript (.js, .jsx) - Yellow/gold icon
- TypeScript (.ts, .tsx) - Blue icon
- HTML (.html) - Orange icon
- CSS (.css) - Blue/cyan icon
- JSON (.json) - Green icon
- Markdown (.md, .mdx) - Gray icon
- Python (.py) - Blue/yellow icon
- Folders - Dynamic folder icon based on name
- Generic files - Default file icon for unknown types
Icons are automatically assigned based on file extensions, making it easy to identify file types at a glance.
Visual States
Active File
The currently open and focused file is highlighted:- Background color changes to indicate selection
- File remains highlighted when viewing its tab
- Only one file can be active at a time
Hover States
- Files and folders highlight on hover
- Context menu buttons appear on right-click
- Project header buttons appear on project name hover
Loading States
When expanding folders for the first time:- Loading indicator appears while fetching contents
- Skeleton rows show temporarily
- Content replaces loading state when ready
Optimistic Updates
File operations feel instant because of optimistic updates:- Create - New files/folders appear immediately
- Rename - Name changes instantly
- Delete - Items disappear right away
Keyboard Navigation
| Action | Key |
|---|---|
| Rename file/folder | F2 (via context menu) |
| Confirm create/rename | Enter |
| Cancel create/rename | Escape |
| Close tab | Click X or open another preview |
File Explorer Tips
Quick Preview
Single-click files to preview without cluttering your tab bar
Pin Important Files
Double-click files you’re actively working on to keep them open
Use Folders
Organize related files in folders for better project structure
Collapse When Needed
Use the collapse all button to reset your view and reduce visual clutter
Limitations
- Maximum file name length is enforced by the system
- Special characters in file names may be restricted
- Folder deletion requires the folder to be empty (or deletes recursively)
- Binary files cannot be edited in the code editor