Expand description
Config used by the language server.
Of particular interest is the feature_flags hash map: while other fields
configure the server itself, feature flags are passed into analysis, and
tweak things like automatic insertion of () in completions.
Modulesยง
- client ๐
- false_
or_ ๐never - global ๐
- local ๐
- patch_
old_ ๐style - See
patch_json_for_outdated_configs - single_
or_ ๐array - true_
or_ ๐always - workspace ๐
Macrosยง
- _config_
data ๐ - _default_
str ๐ - _default_
val ๐ - _impl_
for_ ๐config_ data - create_
bool_ ๐or_ string_ serde
Structsยง
- Call
Info Config - Check
OnSave ๐Targets - Client
Commands Config - Client
Config ๐Input - All fields
Option<T>,Nonerepresenting fields not set in a particular JSON/TOML blob. - Client
Default ๐Config Data - Default config values for this grouping.
- Client
Info ๐ - Config
- The configuration of this rust-analyzer instance.
- Config
Change - Config
Errors - Default
Config ๐Data - Discover
Workspace Config - Document
Symbol Config - Configuration for document symbol search requests.
- Files
Config - Full
Config ๐Input - All of the config levels, all fields
Option<T>, to describe fields that are actually set by some rust-analyzer.toml file or JSON blob. An empty rust-analyzer.toml corresponds to all fields being None. - Global
Config ๐Input - All fields
Option<T>,Nonerepresenting fields not set in a particular JSON/TOML blob. - Global
Default ๐Config Data - Default config values for this grouping.
- Global
Workspace ๐Local Config Input - All of the config levels, all fields
Option<T>, to describe fields that are actually set by some rust-analyzer.toml file or JSON blob. An empty rust-analyzer.toml corresponds to all fields being None. - Hover
Actions Config - Lens
Config - Local
Config ๐Input - All fields
Option<T>,Nonerepresenting fields not set in a particular JSON/TOML blob. - Local
Default ๐Config Data - Default config values for this grouping.
- Notifications
Config - Runnables
Config - Configuration for runnable items, such as
mainfunction or tests. - Snippet
Def ๐ - Workspace
Config ๐Input - All fields
Option<T>,Nonerepresenting fields not set in a particular JSON/TOML blob. - Workspace
Default ๐Config Data - Default config values for this grouping.
- Workspace
Local ๐Config Input - Workspace and local config levels, all fields
Option<T>, to describe fields that are actually set by some rust-analyzer.toml file or JSON blob. An empty rust-analyzer.toml corresponds to all fields being None. - Workspace
Symbol Config - Configuration for workspace symbol search requests.
Enumsยง
- Adjustment
Hints ๐Def - Adjustment
Hints ๐Mode Def - Annotation
Location - Auto
Import Exclusion - Auto
Import Exclusion Type - Callable
Completion ๐Def - Cargo
Features ๐Def - Closure
Return ๐Type Hints Def - Closure
Style ๐ - Config
Error Inner - Discriminant
Hints ๐Def - Expr
Fill ๐Default Def - Files
Watcher - Files
Watcher ๐Def - Import
Granularity ๐Def - Import
Prefix ๐Def - Invocation
Strategy ๐ - Lifetime
Elision ๐Def - Linked
Project - Manifest
OrProject ๐Json - MaxSubstitution
Length - Memory
Layout ๐Hover Render Kind Def - NumProcesses
- NumThreads
- Ratoml
File ๐ - Ratoml
File Kind - Reborrow
Hints ๐Def - Rustfmt
Config - Signature
Detail ๐ - Snippet
Scope ๐Def - Target
Directory - Type
Hints ๐Location - Workspace
Symbol ๐Search Kind Def - Workspace
Symbol ๐Search Scope Def
Functionsยง
- deserialize_
abs_ ๐pathbuf - doc_
comment_ ๐to_ string - field_
props ๐ - get_
field_ ๐json - get_
field_ ๐toml - schema ๐
- serialize_
abs_ ๐pathbuf - to_
title_ ๐case - Translate a field name to a title case string suitable for use in the category names on the vscode settings page.
- toml_
pointer ๐ - validate_
toml_ ๐table
Type Aliasesยง
- FxIndex
Map ๐ - Schema
Field ๐