Commit Graph

31 Commits

Author SHA1 Message Date
csh e4e7d4d5ae 🔧 lsp-server: update cppm sources 2026-02-02 17:32:57 +08:00
csh b2a1bb6685 feat(lsp_server): add call snippets to completion resolve 2025-12-24 15:13:10 +08:00
csh 1a784c6452 🔧 chore(lsp_server): keep full provider/capability list commented 2025-12-24 13:52:22 +08:00
csh d13b24a5da 🐛 fix(lsp_server): disable diagnostics publishing by default 2025-12-24 13:45:35 +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 d2d3d9eb48 🎨 style(provider): restore trailing newlines 2025-12-21 22:23:42 +08:00
csh 2c1c1d8a88 feat(provider): add compile-time registry 2025-12-21 22:21:46 +08:00
csh 6dcbe0a1cd 🐛 fix: filter createobject completion prefix 2025-12-21 16:12:39 +08:00
csh f56cf960f1 🐛 fix: align trace value type 2025-12-21 16:12:28 +08:00
csh 53f4588c53 🐛 fix: align rename provider method names 2025-12-21 15:39:16 +08:00
csh 171d5e2064 feat(lsp_completion): support unit-qualified constructors
- Support `new UnitA.ClassName` and `new unit(UnitA).ClassName` completion.
- Support `createobject("UnitA.ClassName"` and `createobject("unit(UnitA).ClassName"` completion.
- Apply `uses` ordering when resolving ambiguous ClassName (last wins).
- Improve `obj.` member completion using qualified type strings.
2025-12-14 10:33:12 +08:00
csh 3106ab9ce4 feat(lsp_completion): complete object creation and members
- Add class-name completion for `new` and `createobject("..."`.
- Generate constructor parameter snippets in completionItem/resolve.
- Support `obj.` instance member completion (methods/properties/fields).
- Infer `new`/`createobject` result types in SemanticModel TypeSystem.
2025-12-14 09:54:18 +08:00
csh f7d5a74615 ♻️ 使用`module`重构所有代码 2025-12-07 23:07:03 +08:00
csh 549f1d1b0a ♻️ 重构 2025-12-05 21:03:18 +08:00
csh 3274af67d5 ♻️ 重构符号表的代码 2025-11-17 17:45:39 +08:00
csh 41ef82b1aa 🐛 修复路径转换问题 2025-11-17 08:59:15 +08:00
csh 7dfbb713ac ♻️ 继续重构 2025-11-11 23:12:03 +08:00
csh e7a5274270 大量更新,不想写更新日志 2025-11-01 22:57:53 +08:00
csh 4deb0b6d87 lsp协议的枚举不使用google风格 2025-10-15 22:59:06 +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 aad4917fc0 rename : DocumentManager 2025-07-12 11:02:33 +08:00
csh e2d88085f0 refactor 2025-07-05 13:18:34 +08:00
csh 0c4619261d refactor 2025-07-05 10:38:05 +08:00
csh 3cc1fccc81 feat: support concurrency 2025-07-03 18:52:04 +08:00
csh dbc95ff098 refactor 2025-07-02 14:29:54 +08:00
csh 56b0f5473a 更改日志模块为spdlog 2025-06-24 21:57:40 +08:00
csh 4f5bf9d781 lsp-server first commit 2025-06-23 20:29:48 +08:00