开始使用免费开始使用

Planning a cross-file edit

With Claude Code briefed on the codebase from your /init session, you can pick up your first real ticket from the team backlog.

Your status bar shows "String Replace Editor" for every file action, too technical and confusing for users.

The uigen status bar showing the "String Replace Editor" label for each file action (highlighted), the text you'll replace with "Editing file".

Time to swap it for "Editing file". The string appears in two places: src/lib/tool-labels.ts and src/components/chat/MessageList.tsx. Plan mode is built for cross-file edits like this. Once the change lands, you'll commit it with a generated commit message.

本练习是课程的一部分

Claude Code in Action

查看课程

练习说明

  • Start Claude Code with claude.
  • Enter Plan mode with /plan.
  • Ask Claude to plan replacing every occurrence of "String Replace Editor" with "Editing file" across the project.
  • Approve the plan and let Claude implement it, then ask Claude to commit the change.
  • Type /exit to exit Claude Code.

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习