---
title: "Claude Code v2.1.235 发布：新增拼写检查，修复缓存与 UI 多项问题"
source: "Claude Code：GitHub Releases（RSS）"
source_tier: "t1_5"
url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.235"
permalink: "https://feed.astralor.com/items/itm_0fbaecdebe141721071b4679"
published: "2026-08-18T20:38:54.000Z"
score: 77
channel: "ai"
tags: ["Anthropic","aspell","Claude Code","hunspell","ispell","VSCode"]
---

# Claude Code v2.1.235 发布：新增拼写检查，修复缓存与 UI 多项问题

## AI 点评

> 我最在意的是缓存失效修复和性能优化：前者直接改善长会话的连贯性，后者让后台审查任务不再拖慢本机。对每天重度使用 Claude Code 的团队来说，这个版本值得立即升级。

## 速览

Claude Code v2.1.235 新增可选拼写检查，利用 aspell、hunspell 或 ispell 在输入时给拼写错误的单词加下划线。本次更新重点修复了语言服务器断线重连导致的整段提示缓存失效、多行提示中命令高亮错位、嵌套 Markdown 列表错位等问题。同时优化了后台运行 /ultrareview 或 /autofix-pr 时的内存与 CPU 占用，完善权限对话框与“不再询问”逻辑，改进了 VSCode 多面板焦点行为，并让本地 grep 的异常模式快速失败，避免内存耗尽。

## 关键点

- 新增可选拼写检查，支持 aspell、hunspell、ispell，输入时实时标注疑似拼写错误。
- 修复语言服务器断线重连导致整段提示缓存失效，以及多行提示高亮偏移、嵌套 Markdown 列表错位等问题。
- 优化 /ultrareview、/autofix-pr 等后台云会话的内存与 CPU 占用，事件流不再重复扫描渲染。
- 完善权限对话框显示逻辑，修复 Shift+Tab 误授权问题，并改进 VSCode 多面板恢复时的焦点跳动。

## 全文

What's changed Added an optional spellcheck setting that underlines misspelled words in the prompt input as you type, using your installed aspell, hunspell, or ispell Fixed whole-prompt-cache invalidation when a language server disconnected or reconnected mid-session Fixed nested markdown list items misaligning at depth 3+ and added a hanging indent to wrapped list items in the terminal UI Fixed prompt input highlights (slash commands, keywords, mentions) appearing shifted by one or more characters in some multi-line prompts Fixed Shift+Tab inside the permission prompt's comment field approving the edit and granting session-wide edit permission instead of closing the field Fixed the Agent tool advertising a general-purpose default in sessions where that agent is unavailable: an omitted subagent_type there now gets a clear error listing the available agents Fixed notebook cell delete/replace approval dialogs silently omitting the existing cell content when the notebook or cell could not be read; the dialog now says why Fixed slash commands run while Claude is responding showing HTML entities instead of the actual characters Fixed the prompt footer not showing the "Update installed" restart notice after a background auto-update Fixed the expanded task list (ctrl+t) always starting collapsed when resuming or relaunching into a session that still has open tasks Improved memory and CPU usage while cloud sessions such as /ultrareview or /autofix-pr run in the background — their event streams are no longer re-scanned and re-rendered on every update Improved permission dialogs: display text and "don't ask again" options now always match what a grant would cover, and "don't ask again" is withheld when contents cannot be fully displayed Improved the embedded grep in native macOS/Linux builds: pathological patterns now fail fast instead of exhausting memory, and -m N with -A/-C prints correct context Improved the context-limit error to say when auto-compact is off and point to /config to re-enable it Vim mode: NORMAL mode and cursor position are now preserved when toggling the detailed transcript (ctrl+o) or closing a panel Dialogs: arrow keys and Enter pressed in quick succession now select the option you navigated to instead of the previously highlighted one SendMessage now refuses messages too large for cross-session delivery up front instead of silently dropping them Remote Control: claude rc now applies the same enterprise-gateway availability check as interactive startup [VSCode] Fixed focus jumping between open Claude tabs on its own when a window with several Claude panels is restored or reloaded

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_0fbaecdebe141721071b4679
