mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
Add better documentation for excluding imports from symbol search
This commit is contained in:
parent
b0552d779f
commit
7492b63c18
3 changed files with 11 additions and 3 deletions
|
|
@ -762,7 +762,11 @@ config_data! {
|
|||
/// though Cargo might be the eventual consumer.
|
||||
vfs_extraIncludes: Vec<String> = vec![],
|
||||
|
||||
/// Exclude imports from symbol search.
|
||||
/// Exclude all imports from workspace symbol search.
|
||||
///
|
||||
/// In addition to regular imports (which are always excluded),
|
||||
/// this option removes public imports (better known as re-exports)
|
||||
/// and removes imports that rename the imported symbol.
|
||||
workspace_symbol_search_excludeImports: bool = false,
|
||||
/// Workspace symbol search kind.
|
||||
workspace_symbol_search_kind: WorkspaceSymbolSearchKindDef = WorkspaceSymbolSearchKindDef::OnlyTypes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue