diff options
| author | Tavo Annus <tavo.annus@gmail.com> | 2024-06-29 12:24:08 +0300 |
|---|---|---|
| committer | Tavo Annus <tavo.annus@gmail.com> | 2024-06-29 12:24:08 +0300 |
| commit | 8fd7ae975973fcee75b4bc978b20e045c4fe5177 (patch) | |
| tree | 8d1326103d3473a3203210afba5d0a5e0d8a8eab /src/tools/rust-analyzer/editors/code | |
| parent | fde55648116f75eb44340047d48a191d0660a403 (diff) | |
| download | rust-8fd7ae975973fcee75b4bc978b20e045c4fe5177.tar.gz rust-8fd7ae975973fcee75b4bc978b20e045c4fe5177.zip | |
Make borrow checking configurable for term search
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index 0da5b920a72..7f9987b9353 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -591,6 +591,16 @@ { "title": "assist", "properties": { + "rust-analyzer.assist.termSearch.borrowcheck": { + "markdownDescription": "Enable borrow checking for term search code assists. If set to false, also there will be more suggestions, but some of them may not borrow-check.", + "default": true, + "type": "boolean" + } + } + }, + { + "title": "assist", + "properties": { "rust-analyzer.assist.termSearch.fuel": { "markdownDescription": "Term search fuel in \"units of work\" for assists (Defaults to 1800).", "default": 1800, |
