Module configuration

Source

Structs§

ConfigurationDiagnostic
Represents a problem within the configuration.
GlobalConfiguration
ParseConfigurationError
RecommendedGlobalConfiguration
ResolveConfigurationResult

Enums§

ConfigKeyValue
NewLineKind
RawNewLineKind

Constants§

RECOMMENDED_GLOBAL_CONFIGURATION

Functions§

get_nullable_value
If the provided key exists, takes its value from the provided config and returns it. If the provided key does not exist, it returns None. Adds a diagnostic if there is any problem deserializing the value.
get_nullable_vec
get_unknown_property_diagnostics
Gets a diagnostic for each remaining key value pair in the hash map.
get_value
If the provided key exists, takes its value from the provided config and returns it. If the provided key does not exist, it returns the default value. Adds a diagnostic if there is any problem deserializing the value.
handle_renamed_config_property
If it exists, moves over the configuration value over from the old key to the new key and adds a diagnostic.
resolve_global_config
Resolves a collection of key value pairs to a GlobalConfiguration.
resolve_new_line_kind
Resolves the NewLineKind text from the provided file text and NewLineKind.

Type Aliases§

ConfigKeyMap