tsl-devkit/memory-bank/progress.md

1.7 KiB

项目进度

已完成功能

LSP 服务器核心

  • JSON-RPC 通信框架 (stdio)
  • 请求分发器 (Dispatcher)
  • 异步任务执行器 (AsyncExecutor)
  • 文档管理器 (DocumentManager)
  • 解析管理器 (ParserManager)
  • 符号管理器 (SymbolManager)
  • 事件总线 (EventBus)

LSP 功能 (Provider)

  • initialize / shutdown / exit
  • textDocument/didOpen / didChange / didClose
  • textDocument/completion - 代码补全
  • textDocument/hover - 悬停信息
  • textDocument/definition - 跳转定义
  • textDocument/references - 查找引用
  • textDocument/documentSymbol - 文档符号
  • textDocument/codeAction - 代码操作
  • textDocument/codeLens - 代码透镜
  • textDocument/inlayHint - 内联提示
  • textDocument/documentLink - 文档链接
  • callHierarchy/incomingCalls / outgoingCalls
  • typeHierarchy/supertypes / subtypes
  • workspace/symbol - 工作区符号搜索

VSCode 扩展

  • 语法高亮 (TextMate)
  • 代码片段 (Snippets)
  • LSP 客户端集成
  • 扩展打包 (.vsix)

构建与部署

  • CMake 构建系统
  • Conan 依赖管理
  • Linux (Clang) 构建
  • Windows 交叉编译
  • Gitea CI/CD 流水线

进行中

  • 语义高亮 (textDocument/semanticTokens)
  • 重命名 (textDocument/rename)
  • 格式化 (textDocument/formatting)

待规划

  • 诊断 (textDocument/publishDiagnostics)
  • 签名帮助 (textDocument/signatureHelp)
  • 折叠范围 (textDocument/foldingRange)
  • 选择范围 (textDocument/selectionRange)

Plan 状态