pub struct BuildFlags {Show 35 fields
pub completion: bool,
pub hover: bool,
pub definition: bool,
pub type_definition: bool,
pub implementation: bool,
pub references: bool,
pub document_symbol: bool,
pub workspace_symbol: bool,
pub inlay_hints: bool,
pub pull_diagnostics: bool,
pub workspace_symbol_resolve: bool,
pub semantic_tokens: bool,
pub code_actions: bool,
pub execute_command: bool,
pub rename: bool,
pub document_links: bool,
pub selection_ranges: bool,
pub on_type_formatting: bool,
pub code_lens: bool,
pub call_hierarchy: bool,
pub type_hierarchy: bool,
pub linked_editing: bool,
pub inline_completion: bool,
pub inline_values: bool,
pub notebook_document_sync: bool,
pub notebook_cell_execution: bool,
pub moniker: bool,
pub document_color: bool,
pub source_organize_imports: bool,
pub formatting: bool,
pub range_formatting: bool,
pub folding_range: bool,
pub signature_help: bool,
pub document_highlight: bool,
pub declaration: bool,
}Expand description
Build-time feature flags for conditional LSP capability compilation
Controls which capabilities are compiled into the LSP server binary, allowing for optimized builds targeted at specific Perl parsing deployment scenarios within enterprise LSP environments.
Fields§
§completion: boolCode completion provider compilation flag
hover: boolHover information provider compilation flag
definition: boolGo-to-definition provider compilation flag
type_definition: boolType definition navigation compilation flag
implementation: boolImplementation finding compilation flag
references: boolFind-all-references provider compilation flag
document_symbol: boolDocument symbol outline provider compilation flag
workspace_symbol: boolWorkspace symbol search provider compilation flag
inlay_hints: boolInlay hints provider compilation flag
pull_diagnostics: boolPull-based diagnostics provider compilation flag
workspace_symbol_resolve: boolWorkspace symbol resolution provider compilation flag
semantic_tokens: boolSemantic token highlighting provider compilation flag
code_actions: boolCode actions provider compilation flag
execute_command: boolCommand execution provider compilation flag
rename: boolSymbol renaming provider compilation flag
document_links: boolDocument links provider compilation flag
selection_ranges: boolSmart text selection ranges provider compilation flag
on_type_formatting: boolOn-type formatting provider compilation flag
code_lens: boolCode lens provider compilation flag
call_hierarchy: boolCall hierarchy navigation provider compilation flag
type_hierarchy: boolType hierarchy navigation provider compilation flag
linked_editing: boolLinked editing ranges provider compilation flag
inline_completion: boolInline completion suggestions provider compilation flag
inline_values: boolInline values for debugging provider compilation flag
notebook_document_sync: boolNotebook document sync provider compilation flag
notebook_cell_execution: boolNotebook cell execution summary tracking compilation flag
moniker: boolStable symbol identifiers provider compilation flag
document_color: boolDocument color provider compilation flag for color swatches in strings and comments
source_organize_imports: boolSource organize imports capability (GA-lock excludes this)
formatting: boolDocument formatting provider compilation flag
range_formatting: boolRange formatting provider compilation flag
folding_range: boolFolding range provider compilation flag
signature_help: boolSignature help provider compilation flag
document_highlight: boolDocument highlight provider compilation flag
declaration: boolDeclaration provider compilation flag
Implementations§
Source§impl BuildFlags
impl BuildFlags
Sourcepub fn to_advertised_features(&self) -> AdvertisedFeatures
pub fn to_advertised_features(&self) -> AdvertisedFeatures
Convert build flags to advertised features.
Sourcepub fn to_feature_ids(&self) -> Vec<&'static str>
pub fn to_feature_ids(&self) -> Vec<&'static str>
Convert build flags to advertised feature ids used by BDD and tooling layers.
Sourcepub fn production() -> Self
pub fn production() -> Self
Default production-ready capabilities.
Trait Implementations§
Source§impl Clone for BuildFlags
impl Clone for BuildFlags
Source§fn clone(&self) -> BuildFlags
fn clone(&self) -> BuildFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more