CodeForge v26.4.0 是一次以数据库与 AI 为核心的版本:全新的拖拽式可视化查询构建器让你不写 SQL 也能搭出多表 JOIN、聚合、分组、过滤与排序的复杂查询;配套带来表格行内编辑回写、连接分组与导入导出、SQL 一键格式化等数据库能力;AI 侧新增修复诊断、生成文档注释、翻译注释、跨文件多文件编辑;编辑器则补齐行书签、折叠展开、括号跳转、语法扩选、空白字符渲染等一批生产力功能。
CodeForge v26.4.0 is a release centered on database tooling and AI: a brand-new drag-and-drop visual query builder lets you compose complex multi-table JOIN / aggregate / group / filter / sort queries without writing SQL; it ships alongside inline cell editing with write-back, connection grouping and import/export, and one-click SQL formatting; AI gains diagnostic fixes, doc-comment generation, comment translation and multi-file editing; and the editor adds line bookmarks, folding, bracket matching, syntax-aware selection, and whitespace rendering.
📦 版本信息 | Release Information
-
项目地址 | Repository:https://github.com/devlive-community/codeforge
-
官方网站 | Official Website:https://codeforge.devlive.org/
-
版本号 | Version:v26.4.0
-
发布日期 | Release Date:2026年7月6日 | July 6, 2026
🧱 可视化查询构建器 | Visual Query Builder
不写 SQL,也能拖出完整查询——从左侧结构面板把列拖到各个落区即可实时生成 SQL 并运行: Compose a full query without writing SQL — drag columns from the schema panel into drop zones to generate and run SQL live:
-
拖拽式搭建:列拖入 SELECT / WHERE / GROUP BY / ORDER BY / HAVING 落区,落区带放置提示
-
多表 JOIN:加表、选 INNER/LEFT/RIGHT/FULL 与 ON 条件,列自动带表限定
-
类型感知 WHERE:运算符随列类型变化,值输入自适应 BETWEEN / IN / 布尔 / 日期
-
聚合与分组:聚合函数、别名(AS)、DISTINCT、GROUP BY(含自动分组)、HAVING
-
函数任意用:可搜索分类的函数选择器,支持自由输入任意函数名 + 参数(如 SUBSTRING(col,1,3)、split_part(col,',',1)),SELECT 与 WHERE 均可套函数
-
保存 / 载入查询:按数据源命名存取常用查询;状态自动记忆
-
未指定库可切库:连接未选数据库时在构建器内选库 / 切库,表名自动带库限定
A drag-driven builder with drop zones for SELECT / WHERE / GROUP BY / ORDER BY / HAVING; multi-table JOIN with configurable ON conditions and auto table-qualified columns; type-aware WHERE (operators and value inputs adapt to the column type — BETWEEN / IN / boolean / date); aggregates, aliases, DISTINCT, GROUP BY (with auto-grouping) and HAVING; a searchable, categorized function picker that also accepts any custom function name plus arguments (usable in both SELECT and WHERE); named saved queries per data source with automatic state memory; and in-builder database picking/switching for connections without a default database.
🗄 数据库 · SQL | Database & SQL
-
表格行内编辑回写 - 双击单元格改值,生成 UPDATE 语句确认后写库(单表结果)
-
连接分组 - 为数据库连接分组,设置页按分组归类展示
-
连接导入 / 导出 - 连接配置导出为 JSON、从 JSON 导入(默认不含密码,可选包含)
-
格式化 SQL - 命令面板一键格式化当前 SQL
Inline cell editing with write-back (double-click to edit; generates a confirmed UPDATE for single-table results), connection grouping in settings, connection import/export as JSON (passwords excluded by default, optional to include), and a Format SQL command.
🤖 AI 能力增强 | AI
-
AI 修复诊断 - 把当前文件的 LSP 诊断交给 AI 修复
-
AI 生成文档注释 - 为选中代码生成规范的文档注释
-
AI 翻译注释 / 文档 - 中英互译注释与文档,保留代码结构
-
AI 多文件编辑 - 给出指令,跨已打开文件生成修改并逐个差异审查后应用
Fix diagnostics (hand the file's LSP diagnostics to AI), generate doc comments for a selection, translate comments/docs between Chinese and English while preserving code structure, and multi-file editing — describe a change and review per-file diffs before applying across open files.
🏃 运行 · REPL | Run & REPL
Manage run presets (args / stdin / env) with one-click switching, filter run output to lines matching a keyword, and start a REPL for the current language.
✏️ 编辑器生产力 | Editor Productivity
Line bookmarks (toggle / next / previous / clear, remembered per file), fold/unfold all, go to matching bracket, expand/shrink selection by syntax node, convert indentation (spaces ↔ tabs), and a render-whitespace toggle.
🧭 大纲 · 诊断 · 工作区 | Outline, Diagnostics & Workspace
Outline now prefers LSP documentSymbol (falling back to regex), the problems panel aggregates diagnostics across files, and named workspaces let you save and reopen a set of roots.
🌿 Git · 命令面板 | Git & Command Palette
-
在浏览器打开仓库主页 - 一键跳转远程仓库
-
强制删除未合并分支 - 删除失败时可确认强制删除
-
命令面板最近使用置顶 - 常用命令更快触达
Open the repository homepage in a browser, force-delete branches that aren't fully merged (with confirmation), and recently-used commands float to the top of the command palette.
📥 立即下载 | Download Now
在 GitHub Releases 下载最新版本,或访问官方网站了解更多信息。
Download the latest version from GitHub Releases, or visit the Official Website for more information.