A4-Tacks
76de1de27c
Merge pull request #21817 from A4-Tacks/conv-struct-to-tuple-uses-self
...
fix: Fix overlap edit on record to tuple assist uses self
2026-03-21 12:47:18 +00:00
A4-Tacks
8c522b69ef
Merge pull request #21832 from Shourya742/2026-03-04-add-mapping-to-constructor-method
...
Add mapping to syntax factory constructor methods
2026-03-21 08:11:38 +00:00
A4-Tacks
0cf3e8a07f
Merge pull request #21847 from Shourya742/2026-03-20-migrate-assist
...
Replace direct usage of make with syntax factory and migrate assist to syntaxEditor
2026-03-20 19:57:49 +00:00
A4-Tacks
48f122927e
Add ops::AddAssign implement for IndentLevel
2026-03-20 20:13:06 +08:00
bit-aloo
83c2409835
remove mapping for expr underscore in syntax factory constructor
2026-03-20 10:47:54 +05:30
bit-aloo
00a8d66f85
remove use make directly from extract_variable assist
...
replace use of make directly via syntaxFactory in replace_let_with_if_let assist
2026-03-20 10:22:43 +05:30
bit-aloo
f33263226b
remove redundant enum_ constructor
2026-03-17 18:18:42 +05:30
bit-aloo
5b7fd651a5
add mapping to use_tree syntax_factory constructor method
2026-03-17 17:54:15 +05:30
bit-aloo
b209fa1a9b
add mapping to use_ syntax_factory constructor method
2026-03-17 17:53:54 +05:30
bit-aloo
44089c53b3
add mapping to expr_bin_op syntax_factory constructor method
2026-03-17 17:53:32 +05:30
bit-aloo
55e81b8184
add mapping to tail_only_block_expr syntax_factory constructor method
2026-03-17 17:53:05 +05:30
bit-aloo
3e1a1633c1
add mapping to generic_ty_path_segment syntax_factory constructor method
2026-03-17 17:52:10 +05:30
bit-aloo
b84d13125b
add mapping to impl_trait_type syntax_factory constructor method
2026-03-17 17:51:23 +05:30
bit-aloo
9ba3f27e8a
add mapping to where_clause syntax_factory constructor method
2026-03-17 17:50:52 +05:30
bit-aloo
12f034aa38
add mapping to where_pred syntax_factory constructor method
2026-03-17 17:50:21 +05:30
bit-aloo
ba62b4cc32
add mapping to ty_fn_ptr syntax_factory constructor method
2026-03-17 17:49:36 +05:30
bit-aloo
9efc3bfccb
add mapping to unnamed_param syntax_factory constructor method
2026-03-17 17:48:38 +05:30
bit-aloo
8396463692
add mapping to enum_ syntax_factory constructor method
2026-03-17 17:48:08 +05:30
bit-aloo
a83d4420fc
add mapping to struct_ syntax_factory constructor method
2026-03-17 17:46:33 +05:30
bit-aloo
eed0709262
add mappings for constructors
2026-03-16 19:32:27 +05:30
bit-aloo
f4f8dea4e1
remove invert_boolean_expression_legacy
2026-03-16 10:07:35 +05:30
bit-aloo
41ec0476c2
convert_param_list_to_arg_list accept syntaxFactory and update the corresponding handlers
2026-03-16 09:06:44 +05:30
A4-Tacks
84e8972e8a
Fix overlap edit on record to tuple assist uses self
...
Example
---
```rust
struct $0Foo { field1: u32 }
impl Foo {
fn clone(&self) -> Self {
Self { field1: self.field1 }
}
}
```
**Before this PR**
Panic
**After this PR**
```rust
struct Foo(u32);
impl Foo {
fn clone(&self) -> Self {
Self(self.0)
}
}
```
2026-03-14 20:12:53 +08:00
A4-Tacks
6522eb865a
Merge pull request #21734 from Shourya742/2026-03-02-migrate-already-migrated-assist-to-syntaxFactory
...
Replace make to syntax factory from already migrated syntax factory assist
2026-03-07 01:45:39 +00:00
Jason Haslam
7bc5632014
Fix syntax/fuzz build error
2026-03-06 11:35:35 -07:00
bit-aloo
0e510d9eb1
add GetOrCreateWhereClause subtrait in edit to provide get_or_create_where_clause
2026-03-06 15:32:33 +05:30
bit-aloo
3faa0e1a5a
remove make from replace_named_generics_with_impl
2026-03-06 15:32:33 +05:30
bit-aloo
65c3f983a5
migrate move bounds to SyntaxEditor API
2026-03-06 15:32:33 +05:30
bit-aloo
776dfd7abe
remove make from move_bound
2026-03-06 15:32:33 +05:30
bit-aloo
52511b7cb6
remove make from generate_fn_type_alias_from_new
2026-03-06 15:32:33 +05:30
bit-aloo
a5b96fc81d
remove make from convert_bool_to_enum
2026-03-06 15:32:33 +05:30
bit-aloo
6feab700fc
remove make from add_turbo_fish
2026-03-06 15:32:33 +05:30
bit-aloo
2aeb269257
remove make from extract_type_alias
2026-03-06 15:32:33 +05:30
A4-Tacks
fea31a6f8b
fix: Improve newline for make match, if, while etc
...
- Remove unused `ast::make::match_arm_with_guard`
Example
---
```rust
fn main() {
if true {
$0if true
&& false
{
foo()
}
}
}
```
**Before this PR**
```rust
fn main() {
if true {
match true
&& false {
true => foo(),
false => (),
}
}
}
```
**After this PR**
```rust
fn main() {
if true {
match true
&& false
{
true => foo(),
false => (),
}
}
}
```
2026-02-27 19:39:12 +08:00
SpiZeak
dd8e886398
feat: migrate fix_visibility assist to SyntaxEditor
2026-02-27 08:19:56 +01:00
bit-aloo
f362b282f8
migrate covert_tuple_return_type to struct to syntax editor
2026-02-12 14:52:48 +05:30
bit-aloo
92baa0878d
migrate destructure tuple binding to new syntaxEditor
2026-02-11 13:39:13 +05:30
bit-aloo
3093a75651
self_param and impl_ implementation in syntax_factory
2026-02-08 22:14:06 +05:30
Geoffry Song
a6d8875ee6
Implement homogeneous & heterogeneous try blocks
2026-02-02 18:13:10 -08:00
Geoffry Song
97770dc5d1
Parse try bikeshed T {} syntax
2026-02-02 18:13:10 -08:00
Abdul
1449bc850d
refactor: Remove unused comments related to SyntaxErrorKind
2026-02-02 02:00:43 +05:30
A4-Tacks
8a0462acb5
Fix false positive precedence in (2 as i32) < 3
...
Example
---
```rust
fn f() { _ = $0(1 as u32) << 10; }
```
**Before this PR**
This is syntax error
```rust
fn f() { _ = 1 as u32 << 10; }
```
**After this PR**
Assist not applicable
2026-01-14 18:24:38 +08:00
bit-aloo
10c9c94b2c
add make corresponding constructor methods in SyntaxFactory
2026-01-11 21:33:57 +05:30
Lukas Wirth
2538fdb5b9
Merge pull request #21415 from Veykril/push-qusurvyqwmxt
...
feat: Allow rust paths in symbol search
2026-01-10 11:01:15 +00:00
Lukas Wirth
c471c5c82e
Cleanup
2026-01-10 11:45:49 +01:00
Wilfred Hughes
9c0d88cc07
internal: Include private definitions in generated rustdoc
...
rust-analyzer has handy prebuilt `cargo doc` output at
https://rust-lang.github.io/rust-analyzer/ide/
However, it doesn't include private definitions, which makes it less
useful when trying to learn unfamiliar parts of the codebase.
Instead, pass `--document-private-items` so the HTML includes
information on private types and modules too. rustdoc renders these
with a padlock icon, so it's still clear that they're private.
This change also exposes some more rustdoc warnings, which I've fixed.
2026-01-09 12:01:54 +00:00
Chayim Refael Friedman
76d44ffb3f
Merge pull request #21375 from A4-Tacks/impl-trait-target-and-dyn-hint
...
Fix incorrect dyn hint in `impl Trait for`
2025-12-31 08:30:52 +00:00
A4-Tacks
526fed2faf
Fix incorrect dyn hint in impl Trait for
...
Example
---
```rust
trait T {}
impl T for {}
```
**Before this PR**
```rust
trait T {}
impl T for {}
// ^ dyn
```
**After this PR**
```rust
trait T {}
impl T for {}
```
2025-12-31 16:18:33 +08:00
Chayim Refael Friedman
b3fde4b2f1
Fix Clippy
2025-12-29 18:58:25 +02:00
Lukas Wirth
e04bec5075
perf: Reduce channel lock contention for drop-threads
2025-12-28 11:43:08 +01:00