> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Vibe and Replace

> AI 驱动的查找和替换功能，可对每个匹配项应用自然语言提示。使用 Smart 模式进行谨慎修改，或使用 Fast 模式进行快速转换。

Vibe and Replace 是查找和替换功能的升级版，让你能够在代码库中搜索精确的文本匹配，并为每一处替换应用 AI 提示。

使用它可以进行更具上下文感知的转换和重构。

<video autoPlay controls muted loop playsInline className="w-full aspect-video" src="https://mintcdn.com/cognitionai/WE51TvKjsiyk1ZHl/desktop/assets/windsurf/vibe-and-replace.mp4?fit=max&auto=format&n=WE51TvKjsiyk1ZHl&q=85&s=26f4d01f23f9432db8b1d576058170f5" data-path="desktop/assets/windsurf/vibe-and-replace.mp4" />

<div id="modes">
  ## 模式
</div>

Vibe and Replace 提供两种模式：

1. `Smart` - 使用较慢的模型，会更谨慎地应用更改

2. `Fast` - 使用较快的模型，会更快速地应用更改

要设置模式，请点击 Vibe and Replace 提示框旁边的 `⌄` 按钮。
