claude-code - 💡(How to fix) Fix Slash command autocomplete missing for second command in same message [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#52250Fetched 2026-04-24 06:12:10
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

When typing multiple slash commands in a single message, the autocomplete suggestions panel at the bottom of the terminal only appears for the first slash command. The second (and subsequent) slash commands get no autocomplete dropdown.

Root Cause

When typing multiple slash commands in a single message, the autocomplete suggestions panel at the bottom of the terminal only appears for the first slash command. The second (and subsequent) slash commands get no autocomplete dropdown.

RAW_BUFFERClick to expand / collapse

Description

When typing multiple slash commands in a single message, the autocomplete suggestions panel at the bottom of the terminal only appears for the first slash command. The second (and subsequent) slash commands get no autocomplete dropdown.

Steps to reproduce

  1. Open Claude Code v2.1.118
  2. Type /plugin-dev:create-plugin — autocomplete suggestions appear as expected
  3. Add some text after the first command
  4. Type /brainstormingno autocomplete suggestions appear

Expected behavior

Autocomplete suggestions should appear each time / is typed, regardless of whether it's the first or subsequent slash command in the message.

Actual behavior

Autocomplete suggestions only appear for the first / typed. Subsequent / characters do not trigger the autocomplete dropdown.

Environment

  • Claude Code version: v2.1.118
  • OS: macOS

extent analysis

TL;DR

The issue can be addressed by modifying the autocomplete logic to handle multiple slash commands in a single message.

Guidance

  • Review the current autocomplete implementation to identify why it only triggers for the first slash command.
  • Consider adding a check to detect subsequent slash commands and trigger the autocomplete suggestions accordingly.
  • Verify that the issue is not specific to the macOS environment by testing on other operating systems.
  • Investigate if there are any existing configuration options or settings that can be adjusted to enable autocomplete for multiple slash commands.

Example

No code snippet is provided as the issue does not include specific implementation details.

Notes

The solution may require modifications to the Claude Code application, and it is unclear if this is a known issue or a configuration problem.

Recommendation

Apply workaround: Modify the autocomplete logic to handle multiple slash commands, as it is likely a implementation issue rather than a version-specific problem.

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

Autocomplete suggestions should appear each time / is typed, regardless of whether it's the first or subsequent slash command in the message.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING