claude-code - 💡(How to fix) Fix [FEATURE] Add reload/restart session shortcut (similar to VS Code's Reload 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#47795Fetched 2026-04-15 06:42:08
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Fix Action

Fix / Workaround

Current Workaround

Code Example

/exit or exit
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Summary

Add a keyboard shortcut or slash command to reload/restart the Claude Code session without having to exit and re-run claude from the terminal.

Motivation

VS Code has a Reload Window command that restarts the editor in-place without closing the window. This is particularly useful when:

  • Configuration files (e.g., settings.json, CLAUDE.md) have been modified and need to take effect
  • Installed or updated plugins/skills need to be reloaded

Currently, the only way to reload Claude Code is to type /exit and re-run claude, which interrupts the workflow.

Expected Behavior

  • Session state is cleared (conversation history reset)
  • All configuration files (settings.json, CLAUDE.md, skills, etc.) are re-read from disk
  • The terminal window/context remains intact (no need to re-navigate to the project directory)

Current Workaround

/exit or exit

Proposed Solution

One or more of the following:

  1. Slash command: /reload or /restart — restarts the session in-place, re-reading all config files
  2. Keyboard shortcut: A configurable keybinding that triggers the same behavior

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

extent analysis

TL;DR

Implementing a /reload or /restart slash command or a configurable keyboard shortcut can provide an in-place restart of the Claude Code session.

Guidance

  • Investigate the current implementation of the /exit command to understand how session state is cleared and configuration files are re-read.
  • Consider adding a new command handler for /reload or /restart that replicates the necessary steps from /exit but without terminating the session, instead restarting it in-place.
  • Evaluate the feasibility of introducing a configurable keyboard shortcut that triggers the same restart behavior as the proposed slash command.
  • Review the requirements for resetting conversation history and re-reading configuration files to ensure a seamless restart experience.

Example

# Proposed slash command
/reload

# Alternatively, a keyboard shortcut (e.g., Ctrl+R) could be configured to trigger the restart

Notes

The implementation details of the restart mechanism will depend on the internal architecture of Claude Code, particularly how sessions are managed and configuration files are loaded.

Recommendation

Apply workaround: Implement the proposed /reload or /restart slash command as it directly addresses the need for an in-place restart without exiting and re-running claude from the terminal.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING