| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-09-10 | feat: generate names for tuple-struct in add-missing-match-arms | roife | -24/+106 | |
| 2024-09-10 | refactor: introduce NameGenerator in suggest_name | roife | -81/+192 | |
| 2024-09-09 | feat: use shorthand when pretty-print record pat | roife | -6/+79 | |
| 2024-09-09 | Auto merge of #18041 - roife:fix-issue-17631, r=Veykril | bors | -1/+95 | |
| feat: better name suggestions for fn fix #17631. Better name suggestions for fn-calls / method-calls in the form of `from()`, `from_xxx()`, `into()`, etc. | ||||
| 2024-09-09 | feat: better name suggestions for fn | roife | -1/+95 | |
| 2024-09-09 | fix: add parenthesis for or-pattern | roife | -1/+18 | |
| 2024-09-09 | fix: use `pretty_print_pat` for params in fn | roife | -5/+123 | |
| 2024-09-09 | feat: add prettifier for Pat | roife | -0/+31 | |
| 2024-09-09 | feat: Allow hir-def prettifier formatting into one-line | roife | -15/+55 | |
| 2024-09-09 | Remove unnecessary symbols and add missing symbols | cuishuang | -3/+5 | |
| Signed-off-by: cuishuang <imcusg@gmail.com> | ||||
| 2024-09-08 | Better testing infra for ratoml | Ali Bektas | -102/+227 | |
| 2024-09-08 | Automatically add semicolon when completing unit-returning functions | Chayim Refael Friedman | -40/+200 | |
| But provide a config to suppress that. I didn't check whether we are in statement expression position, because this is hard in completion (due to the natural incompleteness of source code when completion is invoked), and anyway using function returning unit as an argument to something seems... dubious. | ||||
| 2024-09-06 | Fix tools | Michael Goulet | -0/+7 | |
| 2024-09-06 | fix: Properly prevent mir building with unknown types present | Lukas Wirth | -5/+14 | |
| 2024-09-06 | fix: Always explicitly set trait ref self types when lowering | Lukas Wirth | -64/+80 | |
| 2024-09-06 | Bump lsp-server | Lukas Wirth | -1/+1 | |
| 2024-09-06 | Auto merge of #18065 - Veykril:catchy-diagnostics, r=Veykril | bors | -12/+23 | |
| fix: Catch panics from diagnostics computation | ||||
| 2024-09-06 | fix: Catch panics from diagnostics computation | Lukas Wirth | -12/+23 | |
| 2024-09-05 | fix: Updating settings should not clobber discovered projects | Wilfred Hughes | -61/+85 | |
| `linkedProjects` is owned by the user's configuration, so when users update this setting, `linkedProjects` is reset. This is problematic when `linkedProjects` also contains projects discovered with `discoverCommand`. The buggy behaviour occurred when: (1) The user configures `discoverCommand` and loads a Rust project. (2) The user changes any setting in VS Code, so rust-analyzer receives `workspace/didChangeConfiguration`. (3) `handle_did_change_configuration` ultimately calls `Client::apply_change_with_sink()`, which updates `config.user_config` and discards any items we added in `linkedProjects`. Instead, separate out `discovered_projects_from_filesystem` and `discovered_projects_from_command` from user configuration, so user settings cannot affect any type of discovered project. This fixes the subtle issue mentioned here: https://github.com/rust-lang/rust-analyzer/pull/17246#issuecomment-2185259122 | ||||
| 2024-09-05 | Add command to report unresolved references | David Richey | -0/+200 | |
| 2024-09-05 | fix: Fix parser panicking on invalid asm options | Lukas Wirth | -0/+6 | |
| 2024-09-05 | asm! parsing and lowering fixes | Lukas Wirth | -18/+106 | |
| 2024-09-05 | Fix name fetching being incorrect for asm operands | Lukas Wirth | -93/+107 | |
| 2024-09-05 | Add missing doc comments | Lukas Wirth | -0/+1 | |
| 2024-09-05 | Support more IDE features for asm operands | Lukas Wirth | -40/+180 | |
| 2024-09-05 | Give InlineAsmOperand a HIR representation | Lukas Wirth | -217/+409 | |
| 2024-09-05 | Add Definition kind for asm register operand | Lukas Wirth | -35/+59 | |
| 2024-09-05 | Add Definition kind for asm register classes | Lukas Wirth | -28/+214 | |
| 2024-09-05 | Lower asm expressions | Lukas Wirth | -97/+612 | |
| 2024-09-05 | fix: Fix `inline_const_as_literal` error when the number >= 10 | coekjan | -4/+14 | |
| 2024-09-04 | assist: ensure replace_qualified_name_with_use applies to the first path segment | David Barsky | -9/+25 | |
| 2024-09-04 | Parse builtin#asm expressions | Lukas Wirth | -21/+805 | |
| 2024-09-04 | Auto merge of #18045 - Veykril:fix-loop-lower, r=Veykril | bors | -9/+65 | |
| fix: Fix lowering of for loops dropping the loop block | ||||
| 2024-09-04 | fix: Fix lowering of for loops dropping the `loop` block | Lukas Wirth | -9/+65 | |
| 2024-09-04 | Add edition dependent keyword highlighting tests | Lukas Wirth | -7/+326 | |
| 2024-09-03 | Add an internal lint that warns when accessing untracked data | Nadrieril | -0/+3 | |
| 2024-09-03 | bundle old root into `SyntaxEdit` result | DropDemBits | -12/+30 | |
| useful for `SourceChangeBuilder` so it can still perform a tree diff without having to store the old root separately | ||||
| 2024-09-03 | Auto merge of #17984 - ShoyuVanilla:cast, r=Veykril | bors | -93/+1614 | |
| feat: Implement cast typecheck and diagnostics Fixes #17897 and fixes #16564 Mainly adopted from https://github.com/rust-lang/rust/blob/100fde5246bf56f22fb5cc85374dd841296fce0e/compiler/rustc_hir_typeck/src/cast.rs | ||||
| 2024-09-03 | Auto merge of #18031 - roife:suggest-name-in-completion, r=Veykril | bors | -15/+142 | |
| feat: Suggest name in completion for let_stmt and fn_param fix #17780 1. Refactor: move `ide_assist::utils::suggest_name` to `ide-db::syntax_helpers::suggest_name` for reuse. 2. When completing `IdentPat`, detecte if the current node is a `let_stmt` or `fn_param`, and suggesting a new name based on the context. | ||||
| 2024-09-02 | misc fixes | DropDemBits | -26/+20 | |
| 2024-09-02 | handle replace_with_many and replace_all | DropDemBits | -16/+97 | |
| 2024-09-02 | support replacing root node | DropDemBits | -14/+200 | |
| 2024-09-02 | properly sort changes by depth to sort between nodes that have the same ↵ | DropDemBits | -4/+19 | |
| start range | ||||
| 2024-09-02 | fix insert ranges not being excluded from disjointness | DropDemBits | -7/+12 | |
| 2024-09-02 | support insert{_all} | DropDemBits | -11/+88 | |
| 2024-09-02 | propagate annotations to mapped elements | DropDemBits | -52/+168 | |
| 2024-09-03 | tests: suggesting names in completions for let_stmt and fn_param | roife | -0/+73 | |
| 2024-09-03 | feat: suggest name in let_stmt and fn_param | roife | -2/+53 | |
| 2024-09-03 | refactor: move ide_assist::utils::suggest_name to ide-db | roife | -13/+16 | |
| 2024-09-03 | feat: Implement cast typechecks | Shoyu Vanilla | -93/+1614 | |
