-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
layout: post | ||
title: "Windsurf 又一款 AI 智能编辑器" | ||
aliases: | ||
- "Windsurf 又一款 AI 智能编辑器" | ||
tagline: "" | ||
description: "" | ||
category: 产品体验 | ||
tags: [ai, editor, visual-code, cursor, codeium, 编辑器, 代码生成, aigc] | ||
create_time: 2024-11-23 17:51:48 | ||
last_updated: 2024-11-23 17:51:48 | ||
dg-home: false | ||
dg-publish: false | ||
--- | ||
|
||
[Windsurf](https://codeium.com/windsurf) 是 codeium 公司发布的一款 AI 辅助编程工具。 | ||
|
||
## 功能 | ||
|
||
- 不仅包括了代码生成和补全,还包含了 Agents,可以作为一个独立的个体来协助完成编码 | ||
- Flows = Agents + Copilots | ||
- Cascade,更强的上下文感知能力,理解整个代码库,多文件编辑 | ||
- Windsurf 甚至可以直接在终端安装依赖,协助完成环境搭建 | ||
|
||
![JdNDLfohKV](https://pic.einverne.info/images/JdNDLfohKV.png) | ||
|
||
## 使用 | ||
|
||
Windsurf 也是基于 Visual Studio Code,所以第一次打开的时候,可以直接从本地的 Visual Studio Code,或者 Cursor 中导入配置,并且所有的操作和我之前的配置一样,几乎什么都没有改动就可以直接开始使用。 | ||
|
||
## 使用小技巧 | ||
|
||
在编辑器中按下 Cmd + i ,可以使用自然语言生成或重构代码。直接在行内就可以呼唤出提示框。 | ||
|
||
![knUKaxwg8a](https://pic.einverne.info/images/knUKaxwg8a.png) | ||
|
||
在任何代码产生变动的时候,都会产生一个变更记录。 | ||
|
||
![FS6tz7t2b6](https://pic.einverne.info/images/FS6tz7t2b6.png) | ||
|
||
自动补充 | ||
|
||
在我短暂的体验中,发现 Windsurf 的自动提示和补全确实要更智能一些,智能的点在于,它不是和传统的编辑器一样,会自动补全代码后面的内容,它会分析前后的代码内容,并且根据内容智能分析并提示,我在使用的过程中,因为从外部粘贴了几句话,但是文字中使用的标点是英文的逗号,但是在我的上下文中,全部都是使用的中文的符号,在我继续编码后面的内容的时候,它会自动提示我前面的内容从英文的逗号,变更为中文的逗号,并且我直接使用 Tab 就完成了四处逗号的替换。 | ||
|
||
@ 引用符号 | ||
|
||
可以在对话框中通过 @ 符号来引用函数,类,文件,整个目录等等,将其加入到上下文中。 | ||
|
||
## 价格 | ||
|
||
两周之后,可以根据自己的需要来订购使用。 | ||
|
||
![dq4LEOdbVg](https://pic.einverne.info/images/dq4LEOdbVg.png) | ||
|
||
现在 Windsurf 刚刚上线,官方还给了两个月的 Pro 使用体验。 | ||
|
||
![qUAl9W8rPi](https://pic.einverne.info/images/qUAl9W8rPi.png) | ||
|
||
可以点击链接 <https://codeium.com/offers?offer_code=codeium-thanks-you> | ||
|
||
截止 11 月 23 日,目前上面的链接已经无法领取。不过新用户还是可以免费试用两个礼拜的。 | ||
|
||
## 最后 | ||
|
||
现在下载 Windsurf 还可以自动获得两周的 Pro 体验, | ||
|
||
## related | ||
|
||
- [[Copilot]] | ||
- [[Cursor.so]] | ||
- [[CopyCoder]] |