|
| 1 | += Changelog #211 |
| 2 | +:sectanchors: |
| 3 | +:experimental: |
| 4 | +:page-layout: post |
| 5 | + |
| 6 | +Commit: commit:457b966b171b09a7e57acb710fbca29a4b3526f0[] + |
| 7 | +Release: release:2023-12-11[] (`v0.3.1766`) |
| 8 | + |
| 9 | +== New Features |
| 10 | + |
| 11 | +* pr:15959[] replace TokenMap with an abstraction that matches reality. |
| 12 | +* pr:16027[] add support for implicit format args: |
| 13 | ++ |
| 14 | +video::https://user-images.githubusercontent.com/308347/289476161-20bcb7f6-cfa2-4550-a2ba-a524ab52cba3.mp4[options=loop] |
| 15 | +* pr:16034[] support multiple navigation targets when the focus range is in the macro definition site: |
| 16 | ++ |
| 17 | +image::https://user-images.githubusercontent.com/3757771/288381131-2cc82e5c-320f-4de2-9d55-fe975d180f2a.gif["Screen recording showing two Go to definition results for `tcx.def_span` in the rustc source code"] |
| 18 | +* pr:15990[] diagnose extra trait impl items: |
| 19 | ++ |
| 20 | +image::https://user-images.githubusercontent.com/308347/289478906-01ab50b3-ad41-482c-8b33-62712efb89e4.png["Screenshot showing an error on a trait impl item that's not a member of original trait"] |
| 21 | +* pr:15627[] prioritize import suggestions based on the expected type: |
| 22 | ++ |
| 23 | +image::https://user-images.githubusercontent.com/308347/289481260-3325f8cd-8cb5-4a12-8ec7-b2554309dc14.png["Screenshot showing the flyimport pop-up prioritizing `std::sync::atomic::Ordering` in a `fetch_add` call"] |
| 24 | + |
| 25 | +== Fixes |
| 26 | + |
| 27 | +* pr:15896[] (first contribution) show placeholder while getting runnable list from server: |
| 28 | ++ |
| 29 | +image::https://user-images.githubusercontent.com/16928427/282953072-09de6a1c-6f3c-4d29-8031-ba4baeb43282.png["Screenshot showing a `Looking for runnables...` in the picker before `cargo test` and `cargo check` show up"] |
| 30 | +* pr:15515[] (first contribution) improve handling of binary expressions on the left-hand side of "Flip binary expression". |
| 31 | +* pr:16009[] (first contribution) don't search for `ControlFlow` as string in "Extract function". |
| 32 | +* pr:16028[] make drop inlay hints more readable: |
| 33 | ++ |
| 34 | +image::https://user-images.githubusercontent.com/71162630/288081867-bb18707f-3278-435d-a938-ccff4c685586.png["Screenshot showing drop hints appearing now after the semicolon"] |
| 35 | +* pr:16024[] fix runnables working directory on Windows. |
| 36 | +* pr:16054[] fix token downmapping being quadratic. |
| 37 | +* pr:16016[] don't insert parantheses around fields in struct literals. |
| 38 | +* pr:16041[] fix `WideChar` offsets calculation in `line-index`. |
| 39 | +* pr:16073[] replace `doc_comments_and_attrs` with `collect_attrs`. |
| 40 | +* pr:16035[] fix diagnostics panicking when resolving to different files due to macros. |
| 41 | +* pr:16037[] don't print proc-macro panic backtraces in the logs. |
| 42 | +* pr:15486[] fix item tree lowering `pub(self)` to `pub()`. |
| 43 | +* pr:15705[] resolve Self type references in delegate method assist. |
| 44 | +* pr:16048[] fix `concat_bytes!` expansion emitting an identifier. |
| 45 | +* pr:16058[] reduce spans for unresolved field and method diagnostics. |
| 46 | +* pr:16060[] fix completion in `format_args!` with invalid template. |
| 47 | +* pr:16078[] fix "View Mir", "View Hir" and "Interpret function" when the caret is inside a macro. |
| 48 | +* pr:16039[] don't emit missing items diagnostic for negative impls. |
| 49 | +* pr:16045[] fix panic with closure inside array length. |
| 50 | +* pr:16055[] fall back to method resolution on unresolved field access. |
| 51 | + |
| 52 | +== Internal Improvements |
| 53 | + |
| 54 | +* pr:16036[] (first contribution) make `ParamLoweringMode` accessible. |
| 55 | +* pr:15986[] use `triomphe::Arc::from_iter`. |
| 56 | +* pr:16042[] bump `salsa`. |
| 57 | +* pr:16022[] don't explicitly warn against `semicolon_in_expressions_from_macros`. |
| 58 | +* pr:16038[] publish `lsp-server 0.7.5`. |
| 59 | +* pr:16043[] bump and unlock some dependencies. |
0 commit comments