.1194483628904544:335e5e069c0cc70662fa2b5afa5c39fc_69c346c149518cacc42e908c.69c3470449518cacc42e9092.69c34703688877a3f61a18cf:Trae CN.T(2026/3/25 10:23:00)#1564
Open
koillinjag-tech wants to merge 2 commits intodbcli:mainfrom
Conversation
added 2 commits
March 25, 2026 11:40
- 新增 history_freq.py: 历史频率管理模块(SQLite存储) - 修改 prioritization.py: 集成历史频率功能 - 修改 pgcompleter.py: 添加配置支持 - 修改 pgclirc: 添加 smart_completion_freq 配置选项 - 修改 main.py: 添加 \\set 命令支持运行时切换 - 新增 test_history_freq.py: 完整单元测试 - 新增 BUG_REPORT.md: 开发记录文档 功能说明: - 基于使用频率的智能SQL关键字补全排序 - 数据存储在 ~/.config/pgcli/history_freq.db - 默认关闭,通过 \\set smart_completion_freq on 启用
- Add history frequency tracking for SQL keywords - Store frequency data in ~/.config/pgcli/history_freq.db - Support runtime toggle via \\set smart_completion_freq on/off - Default disabled, compatible with existing prompt_toolkit completion
928dd5d to
f8772ed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
功能说明:
Description
Checklist
changelog.rst.AUTHORSfile (or it's already there).pip install pre-commit && pre-commit install).