1. 语言服务器开发指南
  2. 1. LSP
    ❱
    1. 1.1. 基础协议
    2. 1.2. 语言服务协议
    3. 1.3. 基础 JSON 结构
    4. 1.4. 生命周期消息
    5. 1.5. 文本文档同步
    6. 1.6. Notebook 文档同步
    7. 1.7. 语言功能
      ❱
      1. 1.7.1. Goto Declaration 请求
      2. 1.7.2. Goto Definition 请求
      3. 1.7.3. Goto Type Definition 请求
      4. 1.7.4. Goto Implementation 请求
      5. 1.7.5. Find References 请求
      6. 1.7.6. Call Hierarchy
      7. 1.7.7. Type Hierarchy
      8. 1.7.8. Document Highlights 请求
      9. 1.7.9. Document Link
      10. 1.7.10. Hover 请求
      11. 1.7.11. Code Lens
      12. 1.7.12. Folding Range 请求
      13. 1.7.13. Selection Range 请求
      14. 1.7.14. Document Symbols 请求
      15. 1.7.15. Semantic Tokens
      16. 1.7.16. Inlay Hint
      17. 1.7.17. Inline Value
      18. 1.7.18. Monikers
      19. 1.7.19. Completion
      20. 1.7.20. PublishDiagnostics 通知
      21. 1.7.21. Pull Diagnostics
      22. 1.7.22. Signature Help 请求
      23. 1.7.23. Code Action
      24. 1.7.24. Document Color 请求
      25. 1.7.25. Document Formatting
      26. 1.7.26. Rename
      27. 1.7.27. Linked Editing Range 请求
    8. 1.8. 工作空间功能
      ❱
      1. 1.8.1. Workspace Symbols
      2. 1.8.2. Configuration
      3. 1.8.3. Workspace folders
      4. 1.8.4. Workspace fileOperations
      5. 1.8.5. DidChangeWatchedFiles 通知
      6. 1.8.6. Execute command 请求
      7. 1.8.7. Applies WorkspaceEdit 请求
    9. 1.9. 窗口功能
      ❱
      1. 1.9.1. ShowMessage
      2. 1.9.2. LogMessage 通知
      3. 1.9.3. Show Document 请求
      4. 1.9.4. WorkDoneProgress
      5. 1.9.5. Telemetry 通知
    10. 1.10. 杂项
  3. 2. 语言服务器实现
    ❱
    1. 2.1. 最小的语言服务器实现
    2. 2.2. 简单调试语言服务器
  4. 3. 语言服务器插件开发
    ❱
    1. 3.1. 使用 typescript 开发 vscode 插件
    2. 3.2. 使用 rust 开发 vscode 插件

语言服务器开发指南

工作空间功能