opencode icon indicating copy to clipboard operation
opencode copied to clipboard

desktop: no way to remove/delete a project from the GUI project panel

Open noname-nikke opened this issue 2 weeks ago • 3 comments

Summary

In the OpenCode desktop app, once a project has been created/opened, there is no way to remove it from the project panel inside the GUI. Projects that are no longer used stay in the list forever, and the only workaround is editing config/storage files manually outside the app.

Environment

  • opencode version: 2.3.2 (latest)
  • OS: Windows_NT 10.0.26300 (win32 x64)
  • Terminal: Unavailable (desktop app)
  • Shell: cmd.exe
  • Install/channel: latest
  • Active plugins: @enerjizeit/[email protected], @slkiser/opencode-quota, opencode-ecosystem-manager, [email protected]

Reproduction

  1. Open the OpenCode desktop app.
  2. Create or open a project so it appears in the project panel.
  3. Try to find a way to delete/remove that project from the panel (right-click, context menu, settings, etc.).

Expected Behavior

The GUI should provide a way to delete or remove a project that is no longer needed — e.g. a "Remove project" option in a right-click context menu or a delete button in the project panel.

Actual Behavior

There is no delete/remove option anywhere in the desktop UI. Unused projects cannot be removed from within the app.

Additional Context

This is a feature request / UX gap rather than a crash. Being able to clean up unused projects directly in the GUI would make project management much easier. Current workaround (if any) requires manually locating and editing the app's config/storage outside the GUI.

noname-nikke avatar Nov 21 '26 11:11 noname-nikke

Thanks for raising this. There is a way to remove a project from the Home project list, but it's labelled Close, so it's easy to miss:

  1. Go to the Home screen.
  2. Right-click the project in the project list, or hover over it and click its More options (…) button.
  3. Choose Close, the last item in the menu.

This takes the project off the app's project list until you use it again. The server keeps the project, so its folder and sessions are not deleted, and opening the folder again brings it back. I found this in the app's code. The docs don't cover it yet.

If you use a vertical sidebar layout where Home isn't shown, I did not find a Close or Remove option in the sidebar code I read. In that case, please reply and say which layout you use, and we'll treat this as a feature request for that layout.

Related issues:

  • #65297: in the projects-first sidebar layout, Home can't be reached and Add Project is hard to find
  • #64202: a request for more control over projects in the desktop sidebar

I'm closing this issue now since the option exists. If this doesn't answer your question, reply here and the issue will reopen.

opencodejr[bot] avatar Nov 21 '26 11:11 opencodejr[bot]

Thanks for the reply. I tried the suggested steps but they don't work for me.

I'm managing projects via Settings → Projects, and my … menu only shows: Add Project, Edit, Rename, and Show in File Explorer — there is no Close option.

Additionally, I have two other projects that don't show up anywhere in the GUI at all — they are neither displayed in the project list nor can they be closed or removed from anywhere in the app.

Could you please:

  1. Add the ability to manage (close/remove) projects from Settings → Projects, including projects that are currently not displayed in the list?
  2. Treat the sidebar/settings layout as needing a proper remove option, as mentioned in your reply?

Happy to provide more details (screenshots, version info) if needed.

noname-nikke avatar Nov 21 '26 11:11 noname-nikke

Thanks for trying that and for the details. You're right: the Close option I described is only in the project menu on the Home screen. The Settings → Projects menu doesn't have one, and I didn't find one in the sidebar layouts either. So this is a feature request: a way to close or remove projects from Settings → Projects (and the sidebar), including projects that aren't in the main list. I've marked it as one, and the maintainers will consider it.

While you wait, these might explain your two missing projects:

  • Settings → Projects has an Other projects section that starts collapsed. It lists projects the app knows about but that you haven't used from this app. That's also where a project goes after you Close it on Home. Your two projects may be there.
  • The server archives a project when all of its folders are gone, and leaves archived projects out of the project list. If those two projects' folders were moved or deleted, that would explain why they don't show up anywhere. Opening the folder again brings the project back.

Related issues:

  • #65297: project management is hard to find in the projects-first sidebar layout
  • #64202: more control over projects in the desktop sidebar

If the two projects aren't under Other projects and their folders still exist, a screenshot of Settings → Projects with that section expanded would help.

opencodejr[bot] avatar Nov 21 '26 11:11 opencodejr[bot]