|
| 1 | +--- |
| 2 | +title: 26.4.0 |
| 3 | +date: 2026-07-06 |
| 4 | +description: 可视化查询构建器、数据库工具、AI 增强与编辑器生产力 |
| 5 | +--- |
| 6 | + |
| 7 | +CodeForge v26.4.0 是一次以**数据库与 AI** 为核心的版本:全新的**拖拽式可视化查询构建器**让你不写 SQL 也能搭出多表 JOIN、聚合、分组、过滤与排序的复杂查询;配套带来**表格行内编辑回写、连接分组与导入导出、SQL 一键格式化**等数据库能力;AI 侧新增**修复诊断、生成文档注释、翻译注释、跨文件多文件编辑**;编辑器则补齐**行书签、折叠展开、括号跳转、语法扩选、空白字符渲染**等一批生产力功能。 |
| 8 | + |
| 9 | +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**. |
| 10 | + |
| 11 | +--- |
| 12 | + |
| 13 | +## 📦 版本信息 | Release Information |
| 14 | + |
| 15 | +- **项目地址 | Repository**:https://github.com/devlive-community/codeforge |
| 16 | +- **官方网站 | Official Website**:https://codeforge.devlive.org/ |
| 17 | +- **版本号 | Version**:v26.4.0 |
| 18 | +- **发布日期 | Release Date**:2026年7月6日 | July 6, 2026 |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +## 🧱 可视化查询构建器 | Visual Query Builder |
| 23 | + |
| 24 | +不写 SQL,也能拖出完整查询——从左侧结构面板把列拖到各个落区即可实时生成 SQL 并运行: |
| 25 | +Compose a full query without writing SQL — drag columns from the schema panel into drop zones to generate and run SQL live: |
| 26 | + |
| 27 | +- **拖拽式搭建**:列拖入 SELECT / WHERE / GROUP BY / ORDER BY / HAVING 落区,落区带放置提示 |
| 28 | +- **多表 JOIN**:加表、选 INNER/LEFT/RIGHT/FULL 与 ON 条件,列自动带表限定 |
| 29 | +- **类型感知 WHERE**:运算符随列类型变化,值输入自适应 BETWEEN / IN / 布尔 / 日期 |
| 30 | +- **聚合与分组**:聚合函数、别名(AS)、DISTINCT、GROUP BY(含自动分组)、HAVING |
| 31 | +- **函数任意用**:可搜索分类的函数选择器,支持**自由输入任意函数名 + 参数**(如 `SUBSTRING(col,1,3)`、`split_part(col,',',1)`),SELECT 与 WHERE 均可套函数 |
| 32 | +- **保存 / 载入查询**:按数据源命名存取常用查询;状态自动记忆 |
| 33 | +- **未指定库可切库**:连接未选数据库时在构建器内选库 / 切库,表名自动带库限定 |
| 34 | + |
| 35 | +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. |
| 36 | + |
| 37 | +--- |
| 38 | + |
| 39 | +## 🗄 数据库 · SQL | Database & SQL |
| 40 | + |
| 41 | +- **表格行内编辑回写** - 双击单元格改值,生成 UPDATE 语句确认后写库(单表结果) |
| 42 | +- **连接分组** - 为数据库连接分组,设置页按分组归类展示 |
| 43 | +- **连接导入 / 导出** - 连接配置导出为 JSON、从 JSON 导入(默认不含密码,可选包含) |
| 44 | +- **格式化 SQL** - 命令面板一键格式化当前 SQL |
| 45 | + |
| 46 | +**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. |
| 47 | + |
| 48 | +--- |
| 49 | + |
| 50 | +## 🤖 AI 能力增强 | AI |
| 51 | + |
| 52 | +- **AI 修复诊断** - 把当前文件的 LSP 诊断交给 AI 修复 |
| 53 | +- **AI 生成文档注释** - 为选中代码生成规范的文档注释 |
| 54 | +- **AI 翻译注释 / 文档** - 中英互译注释与文档,保留代码结构 |
| 55 | +- **AI 多文件编辑** - 给出指令,跨已打开文件生成修改并逐个差异审查后应用 |
| 56 | + |
| 57 | +**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. |
| 58 | + |
| 59 | +--- |
| 60 | + |
| 61 | +## 🏃 运行 · REPL | Run & REPL |
| 62 | + |
| 63 | +- **运行预设管理** - 保存多套运行输入(参数 / stdin / 环境变量)一键切换 |
| 64 | +- **运行输出过滤** - 只显示包含关键字的输出行 |
| 65 | +- **启动 REPL** - 为当前语言启动交互式解释器 |
| 66 | + |
| 67 | +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. |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +## ✏️ 编辑器生产力 | Editor Productivity |
| 72 | + |
| 73 | +- **行书签** - 切换 / 上一处 / 下一处 / 清空,按文件记忆 |
| 74 | +- **折叠 / 展开全部代码**、**转到匹配括号**、**展开 / 收缩选区**(按语法节点逐级扩选) |
| 75 | +- **转换缩进** - 空格 ↔ 制表符互转 |
| 76 | +- **渲染空白字符** - 空格与制表符可视化开关 |
| 77 | + |
| 78 | +**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. |
| 79 | + |
| 80 | +--- |
| 81 | + |
| 82 | +## 🧭 大纲 · 诊断 · 工作区 | Outline, Diagnostics & Workspace |
| 83 | + |
| 84 | +- **大纲优先用 LSP** - 基于 documentSymbol,回退正则解析 |
| 85 | +- **问题面板跨文件聚合诊断** - 汇总多个文件的诊断 |
| 86 | +- **命名工作区** - 保存 / 打开一组工作区根 |
| 87 | + |
| 88 | +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. |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +## 🌿 Git · 命令面板 | Git & Command Palette |
| 93 | + |
| 94 | +- **在浏览器打开仓库主页** - 一键跳转远程仓库 |
| 95 | +- **强制删除未合并分支** - 删除失败时可确认强制删除 |
| 96 | +- **命令面板最近使用置顶** - 常用命令更快触达 |
| 97 | + |
| 98 | +**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. |
| 99 | + |
| 100 | +--- |
| 101 | + |
| 102 | +## 📥 立即下载 | Download Now |
| 103 | + |
| 104 | +在 [GitHub Releases](https://github.com/devlive-community/codeforge/releases) 下载最新版本,或访问[官方网站](https://codeforge.devlive.org/)了解更多信息。 |
| 105 | + |
| 106 | +Download the latest version from [GitHub Releases](https://github.com/devlive-community/codeforge/releases), or visit the [Official Website](https://codeforge.devlive.org/) for more information. |
0 commit comments