Module handler

Module handler 

Source
Expand description

Generic LSP handler infrastructure.

Provides traits and generic functions for implementing LSP operations (inlay hints, hover, etc.) across different package ecosystems.

§Deprecation Notice

This module is being phased out in favor of the new Ecosystem trait. The EcosystemHandler trait will be removed in a future version. New implementations should use crate::ecosystem::Ecosystem instead.

Structs§

DiagnosticsConfig
Configuration for diagnostics display.
InlayHintsConfig
Configuration for inlay hint display.

Traits§

EcosystemHandler
Generic handler for LSP operations across ecosystems.
VersionStringGetter
Helper trait for accessing version string from unified version types.
YankedChecker
Helper trait for checking if a version is yanked.

Functions§

generate_code_actions
Generic code actions generator.
generate_diagnostics
Generic diagnostics generator.
generate_hover
Generic hover generator.
generate_inlay_hints
Generic inlay hints generator.