Commit Graph

44 Commits

Author SHA1 Message Date
csh e4e7d4d5ae 🔧 lsp-server: update cppm sources 2026-02-02 17:32:57 +08:00
csh f056b0cad1 test(lsp_server): update test scripts and tsf cases 2026-01-08 15:51:54 +08:00
csh b2a1bb6685 feat(lsp_server): add call snippets to completion resolve 2025-12-24 15:13:10 +08:00
csh d13b24a5da 🐛 fix(lsp_server): disable diagnostics publishing by default 2025-12-24 13:45:35 +08:00
csh ec2c580a8c test(lsp_server): cover completion trigger cases
Add explicit coverage for empty-prefix variants, unit/member dot access, createobject quoting forms, and resolve snippet placeholders.

Verified: test_provider (clang-linux-server/Release)
2025-12-24 12:23:53 +08:00
csh adec86a3aa 🐛 fix(symbol): index all system tsf files
Do not drop system-library .tsf units when the file stem differs from top-level symbols.

Add test_provider support for --interpreter=... and an interpreter integration test that validates full indexing plus completion+resolve snippet.
2025-12-24 12:02:30 +08:00
csh 02864dda89 🔧 chore(lsp_server): gate providers to completion/definition
Initialize now advertises only completion (resolve) and definition.

Verified: test_provider (clang-linux-server/Release)
2025-12-24 11:33:40 +08:00
csh 09e65224fe feat(lsp_server): implement missing providers and json coverage
Implement workspace configuration/folders and apply WorkspaceEdit.changes.

Strengthen provider JSON coverage (all methods require params, no errors).

Verified: Release test_provider
2025-12-24 10:42:13 +08:00
csh 2c1c1d8a88 feat(provider): add compile-time registry 2025-12-21 22:21:46 +08:00
csh f54050bad2 ♻️ refactor(semantic): split semantic partitions
move semantic declarations into focused partitions and add new type_system.types/graph.types modules.

reorder lsp server members so async executor shuts down before manager hub to avoid exit crash.
2025-12-21 21:33:15 +08:00
csh 442bb5db7e 🧹 chore: align scripts with kept build dirs 2025-12-21 17:35:42 +08:00
csh eb44afe2be 🧪 test: ignore IDS_AuditExpr in ast/symbol scripts 2025-12-21 15:57:38 +08:00
csh fbf6c85baa 🧪 test: register remaining tests in ctest 2025-12-21 15:52:09 +08:00
csh f2d2aeb272 🧪 test: wire ast/symbol scripts into ctest 2025-12-21 15:47:27 +08:00
csh bb0cbde79c 🧪 test: add LSP json fixtures and provider suite 2025-12-21 15:39:33 +08:00
csh 1de97aace5 🐛 fix: support LSP request id variants 2025-12-21 15:38:46 +08:00
csh b27dafb657 sync tree-sitter grammar and AST 2025-12-20 11:25:33 +08:00
csh 476e83beb8 feat(lsp_server): support rdo_expression and normalize call field
- rename tree-sitter fields for inherited/rdo to 'call'
- regenerate parser sources and sync into lsp-server
- add RdoExpression to AST + symbol/semantic visitors
2025-12-14 06:05:47 +08:00
csh e5782c76fa ♻️ refactor(lsp_server): move entrypoints out of named modules
- export Run() from launcher module and add non-module main TU
- apply same pattern to module-based test executables
- migrate utils/string implementation fully into string.cppm and drop string.cpp
- point clangd to linux build compilation database
2025-12-13 19:55:45 +08:00
csh f7d5a74615 ♻️ 使用`module`重构所有代码 2025-12-07 23:07:03 +08:00
csh 549f1d1b0a ♻️ 重构 2025-12-05 21:03:18 +08:00
csh 4c2e242920 新增语义模块
♻️ 重构符号表,职责更清晰单一

🐛 同步修复`test_symbol`
2025-11-18 23:11:40 +08:00
csh 99f735f2df 🗑️ 删除`CMakeLists.txt`对`vcpkg`的支持
 新增`conan`包管理,并配置多平台`profile`

🔧 变更`CMakeLists`的设置
2025-11-17 17:41:43 +08:00
csh cee6e614bf ♻️ 重构符号表相关内容
🚀 优化`ast`相关代码
2025-11-16 21:20:47 +08:00
csh 8f25f212a7 📦 更新`lsp`对`tree-sitter`的依赖
🚀 优化部分无关代码

🐛 修复`ast`的测试代码
2025-11-15 21:19:45 +08:00
csh 1776437d1d tree-sitter 新增语法支持`procedure` 2025-11-15 21:18:50 +08:00
csh 9714d8c9ac `grammar.js`支持`var`,`out`,`const`,`in`等语法参数
🚀 优化`grammar.js`的语法设计,合理重命名一些field

♻️ 重构ast的`struct`设计
2025-11-13 22:41:40 +08:00
csh 7dfbb713ac ♻️ 继续重构 2025-11-11 23:12:03 +08:00
csh 0ef01a2d1c ♻️ 重大重构 2025-11-11 18:58:21 +08:00
csh 7e0b69c354 ♻️ 重构`tree-sitter-tsf` 2025-11-11 16:54:48 +08:00
csh bcb83f7cad ♻️ 更名tree-sitter-tsf文件夹 2025-11-02 16:29:05 +08:00
csh 64ec88f0c3 🗑️ 移除`test_glaz`
 新增测试`test_lsp_any`
2025-11-02 15:47:48 +08:00
csh e7a5274270 大量更新,不想写更新日志 2025-11-01 22:57:53 +08:00
csh 100e210ed1 add symbol table and test file 2025-10-26 22:52:31 +08:00
csh 7d9b966bc7 improve ast 2025-10-26 22:51:52 +08:00
csh dbccd5b605 improve tree-sitter 2025-10-26 22:51:27 +08:00
csh 9385aaf2c1 update tree-sitter 2025-10-25 23:53:26 +08:00
csh 6aa28f9b23 update test_ast file 2025-10-25 23:53:04 +08:00
csh 117f8e878e update test file 2025-10-25 14:06:58 +08:00
csh 1f7045140e 重构语法树/符号表 2025-10-15 20:31:00 +08:00
csh dc713e6893 支持全局函数补全 2025-09-27 22:23:04 +08:00
csh aac12137cb tree-sitter and lsp-methods 2025-09-14 12:28:37 +08:00
csh 4d79b8d6ba tree-sitter test 2025-08-29 16:51:24 +08:00
csh 63c1ab125c reorganize file layout 2025-07-06 18:37:31 +08:00