CodeForge v26.0.0 是一次里程碑式的更新:CodeForge 从"按语言运行代码片段"的工具,进化为以文件 / 项目为中心的轻量编辑器,并首次内置 AI 助手。本次更新带来多标签编辑、文件树侧栏、就地运行、超大文件只读查看、可自定义快捷键,以及接入 Claude / OpenAI / DeepSeek 的 AI 对话与代码生成能力。

CodeForge v26.0.0 is a milestone release: CodeForge evolves from a “run code snippets by language” tool into a lightweight, file/project-centric editor, with a built-in AI assistant for the first time. This update brings multi-tab editing, a file-tree sidebar, in-place execution, a read-only viewer for huge files, customizable shortcuts, and AI chat & code generation powered by Claude / OpenAI / DeepSeek.


📦 版本信息 | Release Information

  • 项目地址 | Repository:https://github.com/devlive-community/codeforge
  • 官方网站 | Official Website:https://codeforge.devlive.org/
  • 版本号 | Version:v26.0.0
  • 发布日期 | Release Date:2026年6月4日 | June 4, 2026

🗂 文件与项目工作区 | Files & Project Workspace

CodeForge 现在可以像编辑器一样打开文件夹、管理多个文件。
CodeForge can now open folders and manage multiple files like an editor.

  • 多标签编辑 - 同时打开多个文件/片段,支持拖拽排序、右键菜单(关闭其他 / 关闭右侧 / 复制路径)
  • 左侧文件树侧栏 - 打开文件夹、目录懒加载、当前文件高亮、宽度可拖拽、长文件名横向滚动
  • 打开 / 保存本地文件 - 按扩展名自动识别语言;同扩展名多引擎时智能保留当前语言
  • 文件树右键操作 - 新建文件/文件夹、重命名、删除、在系统文件管理器中显示
  • 文件监听 - 外部改动自动刷新文件树
  • 最近文件夹与会话恢复 - 记住并恢复上次打开的文件夹与文件标签
  • 快速打开(Cmd/Ctrl+P) - 模糊查找当前文件夹内的文件

Multi-tab editing with drag-to-reorder and a tab context menu (close others / close to the right / copy path)
File-tree sidebar — open folder, lazy-loaded directories, active-file highlight, resizable width, horizontal scroll for long names
Open / save local files with automatic language detection by extension
File operations — create file/folder, rename, delete, reveal in system file manager
File watching — auto-refresh the tree on external changes
Recent folders & session restore — remember and restore the last folder and open tabs
Quick open (Cmd/Ctrl+P) — fuzzy-find files in the current folder

超大文件只读查看 | Read-only Viewer for Huge Files

  • 打开超过可编辑上限的文本文件时,自动以只读模式在编辑器内查看
  • 基于行偏移索引 + 虚拟滚动,无论文件多大,滚动到任意位置都流畅
  • 可编辑打开的文件大小上限可在设置中调整

Open large text files in a read-only in-editor view, backed by a line-offset index + virtual scrolling for smooth scrolling at any position regardless of file size. The editable size limit is configurable in settings.


🤖 AI 助手 | AI Assistant

首次内置 AI 能力,请求经本地后端转发以规避跨域,API Key 仅保存在本机。
Built-in AI for the first time. Requests are proxied through the local backend to avoid CORS; API keys are stored only on your machine.

  • 多服务商 - 支持 Claude (Anthropic) / OpenAI / DeepSeek,可自定义模型与接口地址
  • 流式输出 - 回复逐字呈现,支持随时停止生成
  • Markdown 渲染 - 回复与代码块美观呈现,代码块支持复制 / 一键应用到编辑器
  • 与执行历史绑定 - AI 对话关联到具体的执行记录并持久化;未执行的对话为临时会话不保存
  • 一键分析报错 - 运行失败后可直接让 AI 分析报错并给出修复
  • 编辑器内自然语言生成(Cmd/Ctrl+K) - 用自然语言描述需求,生成结果可编辑确认后再插入光标处

Multiple providers — Claude (Anthropic) / OpenAI / DeepSeek with customizable model and endpoint
Streaming output — token-by-token responses with a stop button
Markdown rendering — replies and code blocks render nicely; code blocks support copy / apply to editor
Bound to execution history — conversations are linked to a specific run and persisted; unrun chats stay temporary
One-click error analysis — ask AI to analyze a failed run and suggest a fix
In-editor natural-language generation (Cmd/Ctrl+K) — describe what you want, review/edit the result, then insert at the cursor


▶️ 执行增强 | Execution Enhancements

  • 就地运行 - 关联本地文件时直接运行该文件,工作目录设为文件所在目录,多文件/相对路径正确
  • task_id 任务路由 - 执行与事件按任务 id 路由,支持多标签并发运行、互不串扰
  • 标准输入与运行参数 - 可为程序提供 stdin,并追加运行参数
  • 运行未保存文件策略 - 自动保存 / 每次询问 / 运行临时副本,可在设置中选择
  • 执行历史 - 基于 SQLite 持久化,支持分页浏览、查看代码与输出、恢复代码

In-place execution — run the associated file directly, with the working directory set to the file’s folder
Task-based routing — execution and events are routed by task id, enabling concurrent runs across tabs
Stdin & run arguments — feed stdin to the program and append run arguments
Unsaved-run strategy — auto-save / ask each time / run a temporary copy (configurable)
Execution history — persisted in SQLite with pagination, code/output inspection, and restore


🎨 编辑器与布局 | Editor & Layout

  • 多种布局 - 编辑器与控制台支持左右 / 上下 / 仅编辑器三种布局
  • 字体缩放 - 编辑器内 Cmd/Ctrl 加减号实时调整字号
  • 编辑增强 - 搜索替换、代码折叠、括号匹配
  • 统一 Tooltip - 工具栏图标按钮统一悬停提示

Multiple layouts — editor & console in side-by-side / top-bottom / editor-only modes
Font zoom — adjust font size with Cmd/Ctrl +/- in the editor
Editing enhancements — search & replace, code folding, bracket matching
Unified tooltips for toolbar icon buttons


⌨️ 快捷键 | Keyboard Shortcuts

  • 全局快捷键 - 运行、保存、另存为、打开、新建/关闭标签、切换侧栏、快速打开、AI 生成等
  • 可自定义 - 新增"快捷键"设置页,所有快捷键可重新绑定

Global shortcuts — run, save, save as, open, new/close tab, toggle sidebar, quick open, AI generate, and more
Customizable — a new “Shortcuts” settings page lets you rebind any shortcut


🔧 其它优化与修复 | Other Improvements & Fixes

  • 设置整理 - 新增 AI、快捷键设置页;语言列表支持按名称筛选;运行与文件相关设置归入通用
  • 切换语言不再清空已写代码 - 各语言独立保留编辑内容
  • 构建与工程 - CI 升级 Node 22 并修复依赖安装、对齐 Tauri 相关依赖版本、修复多处 UI 细节与告警

Settings cleanup — new AI and Shortcuts pages; language list filtering; run/file settings moved to General
Language switching no longer clears your code — each language keeps its own buffer
Build & engineering — CI upgraded to Node 22 with dependency fixes, aligned Tauri dependency versions, and numerous UI/lint fixes


📥 立即下载 | Download Now

GitHub Releases 下载最新版本,或访问官方网站了解更多信息。

Download the latest version from GitHub Releases, or visit the Official Website for more information.

Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐