codeql
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCodeQL
CodeQL
Goal
目标
Write, test, and run CodeQL queries with VS Code integration. The extension automatically discovers query packs in your workspace.
结合VS Code集成功能编写、测试和运行CodeQL查询。该扩展会自动检测工作区中的查询包。
Guardrails
注意事项
- The VS Code extension discovers query packs automatically from or
.codeqldirectories.codeql - Database analysis is manual in VS Code; scripts are provided for batch operations.
- Prefer focused query suites over running all queries.
- VS Code扩展会自动从或
.codeql目录中发现查询包。codeql - 在VS Code中需手动进行数据库分析;我们提供了用于批量操作的脚本。
- 优先使用聚焦的查询套件,而非运行所有查询。
Workflow (short)
简短工作流
- Set up workspace configuration (optional).
- Create or select a database.
- Write or select queries.
- Run queries in VS Code or CLI.
- 配置工作区(可选)。
- 创建或选择一个数据库。
- 编写或选择查询语句。
- 在VS Code或CLI中运行查询。
References (load when needed)
参考资料(按需查阅)
- : install and environment checks.
codeql/references/setup.md - : database creation by language.
codeql/references/database.md - : running queries and output formats.
codeql/references/analyze.md - : writing, testing, and packaging queries.
codeql/references/custom-queries.md - : GitHub Actions integration.
codeql/references/ci.md - : common failures and fixes.
codeql/references/troubleshooting.md - : helper scripts for batch operations.
codeql/references/scripts.md
- :安装与环境检查。
codeql/references/setup.md - :按语言创建数据库。
codeql/references/database.md - :运行查询与输出格式。
codeql/references/analyze.md - :编写、测试与打包查询。
codeql/references/custom-queries.md - :GitHub Actions集成。
codeql/references/ci.md - :常见问题与修复方案。
codeql/references/troubleshooting.md - :批量操作辅助脚本。
codeql/references/scripts.md