[FEATURE] Automatically close XML tags
Resolved 💬 2 comments Opened Mar 10, 2026 by vmaksimovski Closed Apr 8, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
LLMs benefit from the structure XML tags provide e.g.
Do XYZ
<Example 1>
...
</Example 1>
In most IDEs, when users type in </ the autocomplete automatically fills in the current scope's closing XML tag. The extra typing is cumbersome, and Claude Code has been moving towards autocomplete e.g. providing suggestions on blank prompts.
Proposed Solution
I'd like to ask for an optional setting in Claude Code that does something similar. I'm sure support for skipping the cursor forward might not be supported in some shells.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗