claude-code - 💡(How to fix) Fix Feature request: support multiple project previews open simultaneously in the Preview window [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46270Fetched 2026-04-11 06:24:44
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1

The Preview window currently only supports viewing one project at a time. When working across multiple projects simultaneously (e.g. different Claude Code sessions), it should be easy to have previews for multiple projects open at once.

Root Cause

The Preview window currently only supports viewing one project at a time. When working across multiple projects simultaneously (e.g. different Claude Code sessions), it should be easy to have previews for multiple projects open at once.

RAW_BUFFERClick to expand / collapse

Summary

The Preview window currently only supports viewing one project at a time. When working across multiple projects simultaneously (e.g. different Claude Code sessions), it should be easy to have previews for multiple projects open at once.

Requested features

  • Tabs or a switcher in the Preview window to move between previews for different projects/servers
  • Each tab tied to its respective project's dev server
  • Quick-switch without having to stop/start servers

Expected behavior

The Preview window has tabs (or a dropdown) listing all currently running preview servers. Clicking a tab switches the view to that project's preview without closing the others.

Current behavior

Only one preview can be active at a time. Switching projects requires navigating away and loses context on the previous preview.

Use case

Users running agents across multiple projects simultaneously need to quickly check the visual state of each project's UI without hunting through separate windows or restarting servers.

extent analysis

TL;DR

Implementing a tabbed interface or switcher in the Preview window to support multiple project previews simultaneously is likely the most effective fix.

Guidance

  • Introduce a tabbing system or dropdown menu in the Preview window to list all currently running preview servers, allowing users to switch between projects without losing context.
  • Ensure each tab is tied to its respective project's dev server, enabling quick-switching without the need to stop or start servers.
  • Consider implementing a mechanism to manage and display the list of available preview servers, such as automatically updating the tab list when a new server is started or stopped.
  • Develop a switching mechanism that preserves the state of each project's preview, allowing users to navigate between projects without losing their place.

Example

// Pseudo-code example of a tabbed interface
class PreviewWindow {
  constructor() {
    this.tabs = {}; // Store tabs with project IDs as keys
  }

  addTab(projectId, serverUrl) {
    this.tabs[projectId] = serverUrl;
    // Update tab list UI
  }

  switchTab(projectId) {
    // Switch to the selected project's preview
    // Update the preview content with the selected project's UI
  }
}

Notes

The implementation details may vary depending on the existing architecture and technologies used in the Preview window and project servers. This solution assumes a certain level of flexibility in the current system.

Recommendation

Apply a workaround by introducing a tabbed interface or switcher, as this directly addresses the requested feature and provides a clear path to achieving the expected behavior.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The Preview window has tabs (or a dropdown) listing all currently running preview servers. Clicking a tab switches the view to that project's preview without closing the others.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING