Skip to main content

Crate spring_lsp

Crate spring_lsp 

Source
Expand description

§spring-lsp

Language Server Protocol implementation for spring-rs framework.

spring-lsp 提供智能的开发体验,包括:

  • TOML 配置文件的智能补全和验证
  • Rust 宏的分析和展开
  • 路由的识别和导航
  • 依赖注入验证

§架构

spring-lsp 采用分层架构:

  • LSP Protocol Layer: 处理 LSP 协议通信
  • Server Core Layer: 消息分发和状态管理
  • Analysis Modules: 各种分析功能模块
  • Foundation Layer: 基础设施和工具

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

completion
智能补全引擎模块
config
服务器配置管理
di_validator
依赖注入验证模块
diagnostic
诊断引擎模块
document
文档管理模块
error
错误类型定义和错误处理策略
index
索引管理模块
logging
日志系统配置和管理
macro_analyzer
Rust 宏分析模块
route
路由导航模块
schema
配置 Schema 管理模块
server
LSP 服务器核心实现
status
服务器状态查询模块
toml_analyzer
TOML 配置文件分析模块