Lukas Wirth
135f94a02b
Merge pull request #20389 from Veykril/push-ssyssvnrywvy
...
Slim down compile time artifact progress reports
2025-08-05 08:57:17 +00:00
Lukas Wirth
34ce0b5063
Slim down compile time artifact progress reports
2025-08-05 10:45:54 +02:00
Chayim Refael Friedman
ea140ef0a8
Do not remove the original token when descending into derives
...
This caused rename to remove both, because it couldn't rename the derive-expanded one.
I spent some time trying to create a test for this, before giving up. But I checked manually that this works.
2025-08-05 01:04:21 +03:00
Chayim Refael Friedman
47845d6097
Allow renaming when there are multiple definitions (due to macros) even when some cannot rename
2025-08-05 00:10:21 +03:00
Hmikihiro
0e456af6a1
Migrate expand_glob_import
assist to use SyntaxEditor
2025-08-05 01:16:57 +09:00
Hmikihiro
d2588a723d
remove ted
from replace_named_generic_with_impl.rs
2025-08-05 00:51:50 +09:00
Laurențiu Nicola
978393bae8
Merge pull request #20378 from skewb1k/chore/folding_ranges-perms
...
chore: fix crates/ide/src/folding_ranges.rs file perms
2025-08-04 15:15:27 +00:00
Shoyu Vanilla (Flint)
4c8fb89a36
Merge pull request #20382 from ChayimFriedman2/goto-def-from-macro
...
fix: Correctly goto `From` impl when on `into()` even when the call is inside a macro
2025-08-04 15:10:06 +00:00
A4-Tacks
5704431823
Add if..else completions in LetStmt and ArgList
...
Example
===
```rust
let x = $0;
```
Old completions:
```rust
let x = if $1 {
$0
};
```
This PR current completions:
```rust
let x = if $1 {
$2
} else {
$0
};
```
2025-08-04 22:47:43 +08:00
Chayim Refael Friedman
1a6f7c2dcf
Correctly goto From
impl when on into()
even when the call is inside a macro
...
Descend into macros first.
2025-08-04 17:41:00 +03:00
Hmikihiro
c57a42acf3
remvoe add_attr edit_in_place.rs because it use ted.
2025-08-04 21:52:49 +09:00
skewb1k
865b8802e6
chore: fix crates/ide/src/folding_ranges.rs file perms
...
755 -> 644
2025-08-04 14:19:31 +03:00
Nurzhan Sakén
e3d849467e
Remove strict_overflow_ops lint
2025-08-04 04:13:10 +04:00
A4-Tacks
22d6136462
Add assignment type analysis for ide-completion
2025-08-04 01:59:03 +08:00
Hmikihiro
1fea875fb1
Remove unused functions from edit_in_place
2025-08-03 19:40:54 +09:00
Lukas Wirth
531a02c824
Merge pull request #20371 from Hmikihiro/migrate_generate_trait_from_impl
...
Migrate `generate_trait_from_impl` assist to use `SyntaxEditor`
2025-08-03 07:23:07 +00:00
Hmikihiro
24f7f739d7
Migrate generate_trait_from_impl
assist to use SyntaxEditor
2025-08-03 16:12:08 +09:00
Lukas Wirth
99526ef6ef
Merge pull request #20368 from Hmikihiro/migrate_delegate_methods
...
Migrate `generate_delegate_methods` assist to use `SyntaxEditor`
2025-08-03 06:37:22 +00:00
Lukas Wirth
22ec3e51a6
Merge pull request #20364 from Hmikihiro/migrate_convert_from_to_tryfrom
...
Migrate `convert_from_to_tryfrom` assist to use `SyntaxEditor`
2025-08-03 06:36:15 +00:00
Lukas Wirth
5daac5567b
Merge pull request #20351 from ChayimFriedman2/rename-self1
...
feat: When renaming a parameter to `self`, change callers to use method call syntax
2025-08-02 18:50:08 +00:00
Chayim Refael Friedman
74ecb1e788
When renaming a parameter to self
, change callers to use method call syntax
2025-08-02 21:39:22 +03:00
Hmikihiro
85f7112c0e
Migrate generate_delegate_methods
assist to use SyntaxEditor
2025-08-03 02:17:56 +09:00
Hmikihiro
c2275c28e1
Migrate convert_from_to_tryfrom
assist to use SyntaxEditor
2025-08-02 20:35:09 +09:00
Ifeanyi Orizu
76b2333c1b
Update documentation for overrideCommand config options
2025-08-01 10:48:54 -05:00
Shoyu Vanilla (Flint)
68e7ec90bf
Merge pull request #20345 from Hmikihiro/Migrate_add_trait_assoc_items_to_impl
...
add `SyntaxEditor::delete_all` to migrate utils.rs `add_trait_assoc_items_to_impl`
2025-07-31 15:11:22 +00:00
Lukas Wirth
8ce30264c8
cargo clippy --fix
2025-07-31 10:55:10 +02:00
Lukas Wirth
423c7dd23a
Merge pull request #20342 from Veykril/push-zysqtqskuxvr
...
Reorganize proc-macro-srv more, add `--format` and `--version` args
2025-07-31 08:21:52 +00:00
Lukas Wirth
87625cc166
Add version command to proc-macro-srv
2025-07-31 10:10:50 +02:00
Lukas Wirth
218e00d0bb
Reorganize proc-macro-srv
2025-07-31 09:55:07 +02:00
Lukas Wirth
a7a365e8f8
Properly clean proc-macro-srv proc-macro temp dir
2025-07-31 09:36:49 +02:00
Hmikihiro
e600060680
add SyntaxEditor::delete_all
to migrate utils.rs add_trait_assoc_items_to_impl
2025-07-30 23:53:05 +09:00
Lukas Wirth
4d5bb86ad7
Abtract away json protocol for proc-macro-srv
2025-07-30 15:52:10 +02:00
Shoyu Vanilla (Flint)
8611b71459
Merge pull request #20314 from Hmikihiro/Migrate_inline_type_alias_to_syntax_editor
...
Migrate `inline_type_alias` assist to use `syntax_editor`
2025-07-30 01:24:17 +00:00
Shoyu Vanilla (Flint)
b0d2487ea6
Merge pull request #20311 from Hmikihiro/migrate_convert_tuple_struct_to_named_struct
...
Migrate `convert_tuple_struct_to_named_struct` assist to use `SyntaxEditor`
2025-07-30 01:22:35 +00:00
Hmikihiro
8583e35e4c
replace make::
to SyntaxFactory::
in inline_type_alias
2025-07-29 23:25:13 +09:00
Hmikihiro
ec02abf97a
add SyntaxFactory::record_expr
to hide clone_for_update
2025-07-29 21:49:03 +09:00
Lukas Wirth
e57f18480d
Merge pull request #20337 from ChayimFriedman2/double-inlay-hints
...
fix: When displaying a projection into a type parameter that has bounds as `impl Trait`, collect only the bounds of this projection
2025-07-29 11:52:03 +00:00
Chayim Refael Friedman
9b8c5cfb0c
When displaying a projection into a type parameter that has bounds as impl Trait
, collect only the bounds of this projection
...
It used to collect the bounds of them all.
2025-07-29 14:40:14 +03:00
Lukas Wirth
c12ec2e062
Merge pull request #20154 from joshka/jm/improve-setting-titles
...
Improve settings tree title and descriptions
2025-07-29 10:42:07 +00:00
Lukas Wirth
06dc35840c
Merge pull request #20336 from ChayimFriedman2/mut-trait-impl-snippet
...
fix: In generate_mut_trait_impl, don't add a tabstop if the client does not support snippets
2025-07-29 10:12:14 +00:00
Chayim Refael Friedman
8394155fe6
In generate_mut_trait_impl, don't add a tabstop if the client does not support snippets
2025-07-29 12:37:06 +03:00
Lukas Wirth
4bcc293637
Merge pull request #20333 from Veykril/push-xmulpqkxrytn
...
fix: Do not require all rename definitions to be renameable
2025-07-29 06:42:28 +00:00
Lukas Wirth
c81560c628
fix: Do not require all rename definitions to be renameable
2025-07-29 08:31:08 +02:00
Chayim Refael Friedman
4f407685b4
Merge pull request #20300 from A4-Tacks/fix-debug_assert-doc-gen
...
Fix gen panics doc template for debug_assert
2025-07-29 05:56:59 +00:00
Laurențiu Nicola
511c999bea
Merge pull request #20321 from rust-lang/rustc-pull
...
Rustc pull update
2025-07-28 17:42:46 +00:00
Laurențiu Nicola
572a79fd66
Format and bump rustc crates
2025-07-28 20:31:22 +03:00
Lukas Wirth
f6d09d365a
Merge pull request #20327 from Wilfred/saved_file_placeholder
...
Don't show '$saved_file' literally in IDE status updates
2025-07-28 14:29:05 +00:00
Shoyu Vanilla (Flint)
3a0cf54236
Merge pull request #20303 from Hmikihiro/migrate_path_transform
...
Migrate path transform
2025-07-28 13:33:08 +00:00
Wilfred Hughes
58fc69a852
Don't show '$saved_file' literally in IDE status updates
...
We've had a few users get confused when VS Code shows `my_custom_check
--args $saved_file`, as it looks like substitution didn't occur.
Instead, show `my_custom_check --args ...` in the display output. This
is also shorter, and the VS Code status bar generally works best with
short text.
2025-07-28 11:33:46 +01:00
The rustc-josh-sync Cronjob Bot
5f45867ee6
Merge ref '733dab558992' from rust-lang/rust
...
Pull recent changes from https://github.com/rust-lang/rust via Josh.
Upstream ref: 733dab558992d902d6d17576de1da768094e2cf3
Filtered ref: 8f0faf94fb41d4e2a85ef2d23e5495f6bea1f31d
This merge was created using https://github.com/rust-lang/josh-sync .
2025-07-28 06:31:02 +00:00