about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
AgeCommit message (Collapse)AuthorLines
2024-12-11Merge pull request #18653 from SomeoneToIgnore/hash-completionsLukas Wirth-23/+134
Hash completion items to properly match them during /resolve
2024-12-11Merge pull request #18657 from Giga-Bowser/generate-enum-variantLukas Wirth-231/+522
minor: Migrate `generate_enum_variant` to `SyntaxEditor`
2024-12-11Merge pull request #18656 from roife/fix-issue-18639Lukas Wirth-15/+54
feat: preserve order of parameters in extract_functions
2024-12-11feat: preserve order of parameters in extract_functionsroife-15/+54
2024-12-10minor: Migrate `generate_enum_variant` to `SyntaxEditor`Giga Bowser-229/+275
2024-12-10minor: Add `ty_infer` constructor to `SyntaxFactory`Giga Bowser-0/+8
2024-12-10minor: Add `whitespace` constructor to `SyntaxFactory`Giga Bowser-0/+4
2024-12-10minor: Add `item_enum` constructor to `SyntaxFactory`Giga Bowser-9/+242
I recursively added all constructors it depends on. I also changed the old `make::` constructors to support more of the grammar.
2024-12-10Address the feedback from pascalkutheKirill Bulatov-6/+21
* Use Base64 to minify the hash representation in the JSON data * Do hash checks only for items with similar labels
2024-12-10Address the feedback from VeykrilKirill Bulatov-10/+10
* Exclude documentation field from hashing * Do less cloning during initial completion list generation
2024-12-10Merge pull request #18649 from roife/fix-issue-18648Laurențiu Nicola-1/+27
minor: enhance name suggestion for `Arc<T>` and `Rc<T>`
2024-12-09minor: Migrate `remove_unnecessary_wrapper` to `SyntaxEditor`Giga Bowser-20/+63
2024-12-09fix: Handle the final statement in `SyntaxFactory::block_expr` properlyGiga Bowser-6/+15
This caused a bug that was rather tricky to hunt down!
2024-12-09Add diagnostic fix to remove unnecessary wrapper in type mismatchGiga Bowser-62/+375
I also reorganized the tests in a more logical order, and removed the redundant `test_` prefix from their names.
2024-12-10Clippy fixesKirill Bulatov-5/+5
2024-12-10Avoid hashing completion-related ranges as those may change during /resolve ↵Kirill Bulatov-15/+3
query
2024-12-10crates/r-a: Fix typo in debug messageYuki Sireneva-1/+1
2024-12-09Unite more bool hashingKirill Bulatov-15/+16
2024-12-09Stop excluding Helix from the general resolve pathKirill Bulatov-2/+2
2024-12-09Always compute the hash when r-a wants the imports to be resolvedKirill Bulatov-17/+6
2024-12-09Draft completion hashingKirill Bulatov-24/+142
2024-12-10minor: enhance name suggestion for `Arc<T>` and `Rc<T>`roife-1/+27
2024-12-09Merge pull request #18647 from Veykril/push-nsrrmmnzzoymLukas Wirth-3/+3
internal: Disable pipe on typing handler
2024-12-09Disable pipe on typing handlerLukas Wirth-3/+3
2024-12-09Merge pull request #18645 from Veykril/push-yruoyrvrsntwLukas Wirth-12/+21
fix: Non-exhaustive structs may be empty
2024-12-09fix: Non-exhaustive structs may be emptyLukas Wirth-12/+21
2024-12-09Merge pull request #18644 from Veykril/push-nolvpzqvoqwxLukas Wirth-53/+18
Remove patch sysroot cfg-if hack
2024-12-09Merge pull request #18643 from Veykril/push-muwuzmowptnnLukas Wirth-397/+407
internal: Rename test fixture crates to ra_test_fixture
2024-12-09Remove patch sysroot cfg-if hackLukas Wirth-53/+18
2024-12-09Rename test fixture crates to ra_test_fixtureLukas Wirth-397/+407
2024-12-09Remove unstable attributes in minicoreLaurențiu Nicola-4/+0
2024-12-09Merge pull request #18441 from Veykril/lw-psyvmlotlvqnLukas Wirth-54/+107
internal: Do not cache the config directory path
2024-12-09Fix config guard lock for ratoml testsLukas Wirth-63/+59
2024-12-09Merge pull request #18635 from ChayimFriedman2/fix-testLukas Wirth-47/+49
minor: Fix a test that didn't test what it should
2024-12-08fix: Map new replacement nodes to their mutable equivalents in `SyntaxEditor`Giga Bowser-20/+22
2024-12-08Fix a test that didn't test what it shouldChayim Refael Friedman-47/+49
That is, fix the helper function and disable the tests for now.
2024-12-08Merge pull request #18633 from ChayimFriedman2/unify-fnLukas Wirth-1/+21
fix: Coerce two `FnDef`s to fn pointers even if they are the same, if they are subtypes
2024-12-07Coerce two `FnDef`s to fn pointers even if they are the same, if they are ↵Chayim Refael Friedman-1/+21
subtypes That's because they can be the same function but still different substs, which mandates them to coerce to fn pointers in order to unify.
2024-12-07Watch for user config ratomlAli Bektas-37/+94
2024-12-07Merge pull request #18575 from Giga-Bowser/flip-assistsLukas Wirth-87/+217
minor: Migrate `flip_*` assists to `SyntaxEditor`
2024-12-07Merge pull request #18630 from Veykril/push-ystzsxpywnxnLukas Wirth-19/+37
fix: Temporarily disable completion resolve support for helix and neovim
2024-12-06Remove polymorphizationBen Kimock-1/+0
2024-12-06Temporarily disable completion resolve support for neovimLukas Wirth-3/+7
2024-12-06Temporarily disable completion resolve support for helixLukas Wirth-19/+33
2024-12-06Merge pull request #18629 from Veykril/push-wlsvxwomumppLukas Wirth-21/+29
Highlight right angle as part of fat arrow in macro rules arm
2024-12-06Highlight right angle as part of fat arrow in macro rules armLukas Wirth-21/+29
2024-12-06Merge pull request #18628 from Veykril/push-sqpymrtxysmwLukas Wirth-29/+69
Add typing handler for param list pipe
2024-12-06feat: Migrate `flip_comma` assist to `SyntaxEditor`Giga Bowser-43/+79
2024-12-06minor: Add `token_tree` constructor to `SyntaxFactory`Giga Bowser-1/+27
2024-12-06feat: Migrate `flip_trait_bound` assist to `SyntaxEditor`Giga Bowser-6/+8