about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
-rw-r--r--src/tools/rust-analyzer/editors/code/package.json31
1 files changed, 2 insertions, 29 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json
index a6e92838a06..31419a1942d 100644
--- a/src/tools/rust-analyzer/editors/code/package.json
+++ b/src/tools/rust-analyzer/editors/code/package.json
@@ -1143,37 +1143,10 @@
                 "title": "completion",
                 "properties": {
                     "rust-analyzer.completion.autoimport.excludeTraits": {
-                        "markdownDescription": "A list of full paths to traits to exclude from flyimport.\n\nTraits in this list won't be suggested to be imported by flyimport for their methods. Methods from them won't be available in flyimport completion. They will still be available if in scope.\n\nNote that the trait themselves can still be suggested by flyimport.\n\nThis setting also inherits `#rust-analyzer.completion.excludeTraits#`.\n\nThis setting defaults to:\n\n - [`core::borrow::Borrow`](https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html)\n - [`core::borrow::BorrowMut`](https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html)\n - [`core::cmp::PartialEq`](https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html)\n - All operator traits (in [`core::ops`](https://doc.rust-lang.org/nightly/core/ops))\n\nNote that if you override this setting, those traits won't be automatically inserted, so you may want to insert them manually.",
+                        "markdownDescription": "A list of full paths to traits to exclude from flyimport.\n\nTraits in this list won't have their methods suggested in completions unless the trait\nis in scope.\n\nThis setting also inherits `#rust-analyzer.completion.excludeTraits#`.",
                         "default": [
                             "core::borrow::Borrow",
-                            "core::borrow::BorrowMut",
-                            "core::cmp::PartialEq",
-                            "core::ops::Add",
-                            "core::ops::AddAssign",
-                            "core::ops::BitAnd",
-                            "core::ops::BitAndAssign",
-                            "core::ops::BitOr",
-                            "core::ops::BitOrAssign",
-                            "core::ops::BitXor",
-                            "core::ops::BitXorAssign",
-                            "core::ops::Div",
-                            "core::ops::DivAssign",
-                            "core::ops::Mul",
-                            "core::ops::MulAssign",
-                            "core::ops::Rem",
-                            "core::ops::RemAssign",
-                            "core::ops::Shl",
-                            "core::ops::ShlAssign",
-                            "core::ops::Shr",
-                            "core::ops::ShrAssign",
-                            "core::ops::Sub",
-                            "core::ops::SubAssign",
-                            "core::ops::Neg",
-                            "core::ops::Not",
-                            "core::ops::Index",
-                            "core::ops::IndexMut",
-                            "core::ops::Deref",
-                            "core::ops::DerefMut"
+                            "core::borrow::BorrowMut"
                         ],
                         "type": "array",
                         "items": {