2199 Commits

Author SHA1 Message Date
Shoyu Vanilla (Flint)
fa4ef83727
Merge pull request #21505 from rust-lang/dependabot/npm_and_yarn/editors/code/lodash-4.17.23
Bump lodash from 4.17.21 to 4.17.23 in /editors/code
2026-02-19 10:16:52 +00:00
dependabot[bot]
2bdc080a90
build(deps): bump qs from 6.14.1 to 6.14.2 in /editors/code
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-13 11:43:39 +00:00
dependabot[bot]
6f58d06d6a
Bump lodash from 4.17.21 to 4.17.23 in /editors/code
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-21 23:46:59 +00:00
Laurențiu Nicola
c7f14db34e
Merge pull request #21385 from Shourya742/2026-01-01-parallelize-proc-macro-expansion
internal: Parallelize proc macro expansion
2026-01-19 06:07:56 +00:00
bit-aloo
c6189084de
rename from proc_macro_processes to procMacro_processes 2026-01-16 22:31:03 +05:30
bit-aloo
885dedaa29
fix test and update some autogen files 2026-01-16 22:31:03 +05:30
Wilfred Hughes
c9341e1e07 internal: Improve docs for discoverConfig
Add concrete examples of CLI invocations and JSONL outputs, use BUCK
for consistency with the first example, and polish the wording.
2026-01-14 18:27:45 +00:00
Cormac Relf
5a9855595a doc: overhaul non-cargo build system docs 2026-01-08 10:19:23 +11:00
dependabot[bot]
33a870f06d
Bump qs from 6.14.0 to 6.14.1 in /editors/code
Bumps [qs](https://github.com/ljharb/qs) from 6.14.0 to 6.14.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.0...v6.14.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 19:20:42 +00:00
dfireBird
52af033856 chore: add test_name placeholder in config 2025-12-29 22:32:20 +05:30
dfireBird
aab4071dd2 feat: implement configuration to change subcommand for test and bench 2025-12-29 20:09:47 +05:30
Lukas Wirth
be6975f8f9
Merge pull request #21359 from Veykril/push-syvnrvtmlsqk
Prompt the user in VSCode to add the rust-anaylzer componenet to the toolchain file
2025-12-28 13:30:43 +00:00
Lukas Wirth
f3b5ee47e5 Prompt the user in VSCode to add the rust-anaylzer componenet to the toolchain file 2025-12-28 14:20:35 +01:00
Lukas Wirth
b1afb84586 internal: Collect garbage after events when quiescient 2025-12-28 12:58:04 +01:00
Lukas Wirth
97ac158aaa
Merge pull request #20193 from ChayimFriedman2/setting-rename-conflict
feat: Provide a setting to disable showing rename conflicts
2025-12-26 09:08:49 +00:00
Lukas Wirth
075b3beb5d
Merge pull request #21297 from osdyne/fix-lsp-configuration-request
fix: Fix LSP configuration request handling
2025-12-26 09:05:09 +00:00
jackh726
0dd3fe029a Add lsp extension to get failed trait obligations for a given function 2025-12-20 22:43:58 +00:00
Chayim Refael Friedman
36c9f6224c GC support for solver types
A GC is triggered every X revisions, and is synchronous, unfortunately.
2025-12-18 10:12:03 +02:00
Michael Gruenewald
e1c9eacc65 Fix LSP configuration request handling 2025-12-17 14:47:37 +01:00
benodiwal
87f13bb21b
feat: show parameter hint for missing arguments 2025-12-10 17:37:26 +05:30
Shoyu Vanilla (Flint)
35d2fc42ea
Merge pull request #21207 from rust-lang/dependabot/npm_and_yarn/editors/code/multi-d0f6e8601e
Bump jws in /editors/code
2025-12-08 16:18:41 +00:00
A4-Tacks
e8ee597340
Add config hide placeholders type hints
In the inferred type hints, expand the line too long. add config to disable it.

Example
---
```json
{"rust-analyzer.inlayHints.typeHints.hideInferredTypes": true}
```

```rust
use std::collections::HashMap;
fn foo(iter: Vec<Result<HashMap<String, String>, std::io::Error>>) {
    let output = iter.into_iter().collect::<Result<Vec<_>, _>>().unwrap();
}
```

**Before this PR**

```rust
let output: Vec<HashMap<String, String>> = iter.into_iter().collect::<Result<Vec<_ = HashMap<String, String>>, _ = Error>>().unwrap();
```

**After this PR**

```rust
let output: Vec<HashMap<String, String>> = iter.into_iter().collect::<Result<Vec<_>, _>>().unwrap();
```
2025-12-05 02:09:59 +08:00
dependabot[bot]
b99572384d
Bump jws in /editors/code
Bumps  and [jws](https://github.com/brianloveswords/node-jws). These dependencies needed to be updated together.

Updates `jws` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

Updates `jws` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
- dependency-name: jws
  dependency-version: 4.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 16:56:52 +00:00
Chayim Refael Friedman
36fa19936b
Merge pull request #21156 from Wilfred/manual_formatting
Fix formatting issues in manual
2025-11-28 11:51:16 +00:00
Wilfred Hughes
1ce8ab347f Fix URLs and highlighting in manual 2025-11-28 11:39:40 +00:00
Wilfred Hughes
32b334b503 fix: rust-analyzer.imports.granularity.group should get a dropdown UI
VS Code only offers a dropdown if a the toplevel property description
is `enum`. For `anyOf` (a JSON schema feature), we don't get that
helpful UI.

Whilst the previous version marked `preserve` as deprecated, the VS
Code UI didn't do anything special when users chose that value.

Instead, use an enum so we get the helpful dropdown, and just use the
description to highlight the deprecated value.

Relevant docs:

https://code.visualstudio.com/api/references/contribution-points#:~:text=The%20enumDescriptions%20property%20provides%20a,will%20be%20parsed%20as%20Markdown.

https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-01#section-10.2.1.2
2025-11-28 11:01:57 +00:00
Young-Flash
d808026ca9 refactor: remove unused code 2025-11-21 22:12:08 +08:00
Aditya-PS-05
ba5ecc09ac feat: make dyn inlay hints configurable 2025-11-20 00:37:01 +05:30
Lukas Wirth
0af01418c3
Merge pull request #21055 from rust-lang/dependabot/npm_and_yarn/editors/code/js-yaml-3.14.2
Bump js-yaml from 3.14.1 to 3.14.2 in /editors/code
2025-11-18 15:37:49 +00:00
dependabot[bot]
d0e529084c
Bump glob from 11.0.1 to 11.1.0 in /editors/code
Bumps [glob](https://github.com/isaacs/node-glob) from 11.0.1 to 11.1.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v11.0.1...v11.1.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 11.1.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 12:29:17 +00:00
dependabot[bot]
22037b2df5
Bump js-yaml from 3.14.1 to 3.14.2 in /editors/code
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 12:27:18 +00:00
Shoyu Vanilla (Flint)
2e2e3ebec9
Merge pull request #20927 from ChayimFriedman2/dhat
feat: Support memory profiling with dhat
2025-10-31 07:08:23 +00:00
Chayim Refael Friedman
1ba3165b81 Support memory profiling with dhat
Unfortunately, this requires a custom build of r-a, and it's quite slow.
2025-10-28 13:00:53 +02:00
Chayim Refael Friedman
4fddcc6d57 Provide an option to not show derives near the ADT for "Goto Implementations" or "Implementations" codelens
I don't do it by default, for three reasons: (1) it's more expensive, (2) I actually quite like seeing the derives, and they may expand to no impl/more than one impl, (3) if #19130 will ever be merged this will become even more useful.

Even a config might be too much, but it was fun and easy to code so I did that.
2025-10-28 08:34:16 +02:00
Chayim Refael Friedman
dc91c0a9f3 Provide a setting to disable showing rename conflicts 2025-10-27 18:04:33 +02:00
Michael Gruenewald
291aa7a602 Don't add cargo to requiresServerReloadOpts 2025-10-26 13:22:52 +01:00
Michael Gruenewald
c5893b7c5e Format fixes 2025-10-13 15:02:45 +02:00
Michael Gruenewald
ec45211823 Don't override users' settings 2025-10-13 15:02:45 +02:00
Michael Gruenewald
8355233a19 docs 2025-10-13 15:02:45 +02:00
Michael Gruenewald
c10226a8a1 Remember configuration overrides by extensions 2025-10-13 15:02:45 +02:00
Michael Gruenewald
d1bfff1e39 Allow other extensions to override the configuration 2025-10-13 15:02:45 +02:00
Michael Gruenewald
410cf5575d Don't pretend to have a WorkspaceConfiguration if there isn't one 2025-10-13 15:02:45 +02:00
Michael Gruenewald
86ee444fff Add lodash 2025-10-13 15:02:45 +02:00
Shoyu Vanilla (Flint)
87ccc2b7c9
Merge pull request #20801 from ChayimFriedman2/fix-insert-use
minor: Small fixes for import insertion
2025-10-10 08:28:42 +00:00
Kirill Bulatov
d0e07f080b Replace --show-output with --nocapture
The former does not show any output before the test is finished, which prevents long-running/stuck tests from showing any useful information.
2025-10-05 22:28:00 +03:00
Chayim Refael Friedman
10db7ac7a4 Deprecate preserve import granularity option
It didn't do anything (behaved like `item`), as with `enforceGranularity = false` (which is the default), the style of the current file is always preferred, regardless of the setting.

We could make it fail when the setting is `preserve` and the current file's style could not be detected, but that makes little sense.

It is a bit weird that the default is `crate` but `preserve` falls back to `item`, however that was the previous behavior.
2025-10-05 15:19:52 +03:00
dependabot[bot]
3deacd158d
Bump tar-fs from 2.1.3 to 2.1.4 in /editors/code
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.3 to 2.1.4.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-26 19:45:06 +00:00
Chayim Refael Friedman
129d9f7af6 Clarify rust-analyzer.inlayHints.maxLength is not a hard guarantee 2025-09-22 04:16:50 +03:00
Bart Jacobs
d106d41fbc Add the rust-analyzer.semanticHighlighting.comments.enable configuration value 2025-09-17 15:46:23 +02:00
Chayim Refael Friedman
eaf71411a9 Add an option to remove reborrows from adjustment inlay hints
Reborrows are consecutive deref then ref. Make it the default because reborrows are mostly useless to the programmer.

Also rename `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "reborrow"` to `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "borrows"`, as it's not about reborrows but about any ref/deref and it's confusing with the new setting.
2025-08-24 02:26:37 +03:00