perl-lsp-tooling
External tool integration and performance infrastructure for the Perl LSP ecosystem.
Features
- Subprocess abstraction:
SubprocessRuntimetrait withOsSubprocessRuntime(non-WASM) and test mocks - Perltidy integration: re-exported from
perl-lsp-perltidyfor code formatting with caching, range formatting, and aBuiltInFormatterfallback - Perlcritic integration:
CriticAnalyzerfor static analysis withBuiltInAnalyzerandPolicytrait for custom policies - Performance:
AstCache(moka-based concurrent cache with TTL),IncrementalParser,SymbolIndex(trie + fuzzy), parallel file processing - LSP compatibility: Optional
lsp-compatfeature forlsp_typesdiagnostic conversion
Workspace Role
Tier 2 infrastructure crate in the tree-sitter-perl-rs workspace. Used by formatting, diagnostics, and code analysis layers of the Perl LSP server, while re-exporting dedicated microcrates such as perl-lsp-perltidy for backward compatibility.
Quick Start
use ;
let runtime = new;
let output = runtime.run_command?;
License
MIT OR Apache-2.0