continue通过我们的开源 IDE 扩展和模型、规则、提示、文档和其他构建块中心,创建、共享和使用自定义 AI 代码助手

​一、软件介绍

文末提供程序和源码下载

       Continue 使开发人员能够通过我们的开源 VS Code 和 JetBrains 扩展以及模型、规则、提示、文档和其他构建块的中心创建、共享和使用自定义 AI 代码助手。

二、功能

Chat 聊天

Chat makes it easy to ask for help from an LLM without needing to leave the IDE
Chat 使 无需离开 IDE 即可轻松寻求帮助LLM

Autocomplete 自动完成

Autocomplete provides inline code suggestions as you type
自动完成功能会在您键入时提供内嵌代码建议

Edit 编辑

Edit is a convenient way to modify code without leaving your current file
Edit 是一种无需离开当前文件即可修改代码的便捷方法

Agent 代理

Agent enables you to make more substantial changes to your codebase
Agent 使您能够对代码库进行更实质性的更改

三、安装

Install 安装

VS Code VS 代码

  1. Click Install on the Continue extension page in the Visual Studio Marketplace
    在 Visual Studio Marketplace 的 Continue extension 页面上单击 Install
  2. This will open the Continue extension page in VS Code, where you will need to click Install again
    这将在 VS Code 中打开 Continue extension (继续扩展) 页面,您需要再次单击 Install (安装)
  3. The Continue logo will appear on the left sidebar. For a better experience, move Continue to the right sidebar
    Continue (继续) 徽标将显示在左侧边栏上。为了获得更好的体验,请将 Continue (继续) 移动到右侧边栏
  4. Sign in to the hub to get started with your first assistant.
    登录到应用中心以开始使用您的第一助理。

JetBrains JetBrains 的

  1. Open your JetBrains IDE and open Settings using Ctrl + Alt + S
    打开 JetBrains IDE,然后使用 Ctrl + Alt + S 打开 Settings
  2. Select Plugins on the sidebar and search for "Continue" in the marketplace
    选择侧边栏上的 Plugins(插件),然后在 Marketplace 中搜索 “Continue”(继续)
  3. Click Install, which will cause the Continue logo to show up on the right toolbar
    单击 Install,这将使 Continue 徽标显示在右侧工具栏上
  4. Sign in to the hub to get started with your first assistant.
    登录到应用中心以开始使用您的第一助理。

Signing in 登录

Click "Get started" to sign in to the hub and start using assistants.
单击“开始使用”以登录应用中心并开始使用助手。

六、源码软件下载

夸克网盘分享

本文信息来源于GitHub作者地址:GitHub - continuedev/continue: ⏩ Create, share, and use custom AI code assistants with our open-source IDE extensions and hub of models, rules, prompts, docs, and other building blocks

### 使用 Continue 插件与 AI模型集成 #### 集成概述 Continue 是一款开源AI 编程助手插件,支持多种主流 IDE 如 VS Code IntelliJ IDEA。该工具通过调用外部 AI 模型(例如 DeepSeek),提供一系列开发辅助功能,包括但不限于代码补全、重构建议以及单元测试生成等[^1]。 #### 安装配置 为了使 Continue 插件能够有效工作并充分利用所选的大规模预训练语言模型的能力,需先完成必要的安装设置过程。对于希望使用 Codestral 或者其他基于 VLLM 的高性能推理引擎来说,则应按照官方 GitHub 仓库中的说明进行操作[^3]。 #### 上下文感知特性应用 当涉及到理解处理大型工程项目时,Continue 插件具备强大的上下文感知能力。这意味着它可以识别当前编辑位置周围的代码结构及其逻辑关系,并据此给出更精准的帮助提示或修改提议。具体到项目层面: - **全局视图构建**:借助于内置算法分析整个项目的依赖关系网,形成一张清晰的地图,帮助开发者快速定位特定模的位置。 - **智能导航**:不仅限于简单的跳转定义处,在面对复杂路径的情况下也能指引最优路线;同时还能标记出潜在风险点以便进一步审查。 - **自动文档生成功能**:依据现有源码自动生成详尽的技术文档,这有助于新成员更快地上手熟悉环境,同时也便于长期维护过程中保持良好的沟通效率。 ```python # 示例:假设有一个名为 'my_project' 的 Python 工程目录树如下所示: . ├── my_project/ │ ├── __init__.py │ ├── main.py # 主程序入口文件 │ └── utils/ │ ├── helper_functions.py # 辅助函数集合 │ └── config_loader.py # 加载配置项的相关方法 └── tests/ └── test_main.py # 测试套件之一 # 开发人员可以在任意地方打开IDE内的命令面板输入 "Continue: Analyze Project Context" # 这样就能触发一次全面扫描动作,之后便可以获得上述提到的各种便利之处。 ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值