mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 04:23:25 +00:00
Don't order import alphabetical
alphabetical ordering is no more consistent, and much less useful then the ordering which arises naturally when you add import.
This commit is contained in:
parent
c74e86536e
commit
cca5f862de
3 changed files with 7 additions and 5 deletions
|
@ -9,14 +9,14 @@ extern crate relative_path;
|
|||
extern crate rustc_hash;
|
||||
extern crate salsa;
|
||||
|
||||
mod completion;
|
||||
mod db;
|
||||
mod descriptors;
|
||||
mod imp;
|
||||
mod input;
|
||||
pub mod mock_analysis;
|
||||
mod imp;
|
||||
mod completion;
|
||||
mod descriptors;
|
||||
mod symbol_index;
|
||||
mod syntax_ptr;
|
||||
pub mod mock_analysis;
|
||||
|
||||
use std::{fmt, sync::Arc};
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ mod tests {
|
|||
use super::{
|
||||
super::{test_utils::extract_range, text_utils::replace_range, utils::dump_tree, File},
|
||||
reparse_block, reparse_leaf, AtomEdit, GreenNode, SyntaxError, SyntaxNodeRef,
|
||||
};
|
||||
};
|
||||
|
||||
fn do_check<F>(before: &str, replace_with: &str, reparser: F)
|
||||
where
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
reorder_imports = false
|
||||
reorder_modules = false
|
Loading…
Reference in a new issue