[FEATURE]: Add right-click context menu to File Explorer panel (Copy Path, Rename, Delete, etc.) · Issue #26918 · anomalyco/opencode · GitHub
Skip to content

[FEATURE]: Add right-click context menu to File Explorer panel (Copy Path, Rename, Delete, etc.) #26918

Closed as not planned

Description

@datacodexlab

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request 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.

Activity

  1. github-actions commented on May 11, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please review the above issues and consider whether your request is already covered. If it is, feel free to add a comment there with any additional context.

  2. NaikSoftware commented on May 11, 2026

    @NaikSoftware

    What reason to use files functionality in Opencode if you can run Warp or Zed and manage agents’ sessions, files using tools created for this purpose? My setup looks like that

    Image

    Opencode not created as an agent's management tool or IDE/editor

  3. upn369 commented on May 12, 2026

    @upn369

    I've been waiting for this feature for so long, when will it be developed?

  4. github-actions commented on Jul 12, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions