从拖拽到 JOIN:CodeForge 26.4.0 把 SQL 查询变成搭积木
CodeForge v26.4.0 是一次以数据库与 AI为核心的版本:全新的拖拽式可视化查询构建器让你不写 SQL 也能搭出多表 JOIN、聚合、分组、过滤与排序的复杂查询;配套带来表格行内编辑回写、连接分组与导入导出、SQL 一键格式化等数据库能力;AI 侧新增修复诊断、生成文档注释、翻译注释、跨文件多文件编辑;编辑器则补齐行书签、折叠展开、括号跳转、语法扩选、空白字符渲染等一批生产力功能。
CodeForge v26.4.0 is a release centered ondatabase tooling and AI: a brand-newdrag-and-drop visual query builderlets you compose complex multi-table JOIN / aggregate / group / filter / sort queries without writing SQL; it ships alongsideinline cell editing with write-back, connection grouping and import/export, and one-click SQL formatting; AI gainsdiagnostic fixes, doc-comment generation, comment translation and multi-file editing; and the editor addsline 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 JOINwith 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 acceptsany custom function name plus arguments(usable in both SELECT and WHERE);named saved queriesper data source with automatic state memory; and in-builderdatabase picking/switchingfor connections without a default database.
🗄 数据库 · SQL | Database & SQL
- 表格行内编辑回写- 双击单元格改值,生成 UPDATE 语句确认后写库(单表结果)
- 连接分组- 为数据库连接分组,设置页按分组归类展示
- 连接导入 / 导出- 连接配置导出为 JSON、从 JSON 导入(默认不含密码,可选包含)
- 格式化 SQL- 命令面板一键格式化当前 SQL
Inline cell editingwith write-back (double-click to edit; generates a confirmed UPDATE for single-table results),connection groupingin settings,connection import/exportas JSON (passwords excluded by default, optional to include), and aFormat SQLcommand.
🤖 AI 能力增强 | AI
- AI 修复诊断- 把当前文件的 LSP 诊断交给 AI 修复
- AI 生成文档注释- 为选中代码生成规范的文档注释
- AI 翻译注释 / 文档- 中英互译注释与文档,保留代码结构
- AI 多文件编辑- 给出指令,跨已打开文件生成修改并逐个差异审查后应用
Fix diagnostics(hand the file’s LSP diagnostics to AI),generate doc commentsfor a selection,translate comments/docsbetween Chinese and English while preserving code structure, andmulti-file editing— describe a change and review per-file diffs before applying across open files.
🏃 运行 · REPL | Run & REPL
- 运行预设管理- 保存多套运行输入(参数 / stdin / 环境变量)一键切换
- 运行输出过滤- 只显示包含关键字的输出行
- 启动 REPL- 为当前语言启动交互式解释器
Managerun presets(args / stdin / env) with one-click switching,filter run outputto lines matching a keyword, andstart a REPLfor the current language.
✏️ 编辑器生产力 | Editor Productivity
- 行书签- 切换 / 上一处 / 下一处 / 清空,按文件记忆
- 折叠 / 展开全部代码、转到匹配括号、展开 / 收缩选区(按语法节点逐级扩选)
- 转换缩进- 空格 ↔ 制表符互转
- 渲染空白字符- 空格与制表符可视化开关
Line bookmarks(toggle / next / previous / clear, remembered per file),fold/unfold all,go to matching bracket,expand/shrink selectionby syntax node,convert indentation(spaces ↔ tabs), and arender-whitespacetoggle.
🧭 大纲 · 诊断 · 工作区 | Outline, Diagnostics & Workspace
- 大纲优先用 LSP- 基于 documentSymbol,回退正则解析
- 问题面板跨文件聚合诊断- 汇总多个文件的诊断
- 命名工作区- 保存 / 打开一组工作区根
Outline now prefersLSP documentSymbol(falling back to regex), the problems panelaggregates diagnostics across files, andnamed workspaceslet you save and reopen a set of roots.
🌿 Git · 命令面板 | Git & Command Palette
- 在浏览器打开仓库主页- 一键跳转远程仓库
- 强制删除未合并分支- 删除失败时可确认强制删除
- 命令面板最近使用置顶- 常用命令更快触达
Open the repository homepage in a browser,force-deletebranches that aren’t fully merged (with confirmation), andrecently-used commandsfloat 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.