Feature hasn't been suggested before.
Describe the enhancement you want to request
Summary
The file explorer panel in OpenCode currently lacks a right-click context menu. Adding standard context menu options would bring OpenCode's file explorer in line with every major code editor.
Problem
Users currently cannot:
- Copy a file's absolute or relative path with a right-click.
- Perform common file operations (rename, delete, create new file) directly from the file explorer.
- Open a file in a specific way (e.g., open in terminal, reveal in system explorer).
This forces users to switch to the terminal or their OS file manager to perform basic operations, breaking workflow continuity.
Proposed Solution
Add a context menu on right-click in the file explorer panel with the following actions:
| Action |
Description |
| Copy Path |
Copies the absolute path of the selected file/folder |
| Copy Relative Path |
Copies the path relative to the project root |
| Rename |
Inline rename of the file/folder |
| Delete |
Delete with confirmation prompt |
| New File |
Create a new file in the selected directory |
| New Folder |
Create a new folder in the selected directory |
| Open in Terminal |
Open a terminal at the selected folder location |
| Reveal in File Explorer |
Open the system file manager at that location |
Why This Matters
This feature is present in every major code editor: VS Code, Cursor, Zed, JetBrains IDEs, Sublime Text, and Google Antigravity. Its absence in OpenCode is one of the most noticeable usability gaps compared to established tools.
Copying a file path is one of the most frequent actions a developer performs — having to do it manually via the terminal is a constant friction point.
Priority
This is a high-impact, relatively low-complexity feature that would immediately improve day-to-day usability for all users.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Summary
The file explorer panel in OpenCode currently lacks a right-click context menu. Adding standard context menu options would bring OpenCode's file explorer in line with every major code editor.
Problem
Users currently cannot:
This forces users to switch to the terminal or their OS file manager to perform basic operations, breaking workflow continuity.
Proposed Solution
Add a context menu on right-click in the file explorer panel with the following actions:
Why This Matters
This feature is present in every major code editor: VS Code, Cursor, Zed, JetBrains IDEs, Sublime Text, and Google Antigravity. Its absence in OpenCode is one of the most noticeable usability gaps compared to established tools.
Copying a file path is one of the most frequent actions a developer performs — having to do it manually via the terminal is a constant friction point.
Priority
This is a high-impact, relatively low-complexity feature that would immediately improve day-to-day usability for all users.