|
| 1 | += Changelog #97 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:4b7675fcc30d3e2c05eafc68a5724db66b58142c[] + |
| 6 | +Release: release:2021-10-04[] |
| 7 | + |
| 8 | +== Sponsors |
| 9 | + |
| 10 | +**Become a sponsor:** On https://opencollective.com/rust-analyzer/[OpenCollective] or |
| 11 | +https://github.com/sponsors/rust-analyzer[GitHub Sponsors]. |
| 12 | + |
| 13 | +== New Features |
| 14 | + |
| 15 | +* pr:10395[] (first contribution) add `pub(super)` keyword completion. |
| 16 | +* pr:10398[] (first contribution) set `defaultLibrary` semantic token on standard library items. |
| 17 | +* pr:10403[] add semantic token modifier for crate root. |
| 18 | +* pr:10362[] add assist to convert `a/mod.rs` into `a.rs`: |
| 19 | ++ |
| 20 | +image::https://user-images.githubusercontent.com/13777628/134837717-074c23e9-1ca2-4207-b780-8443b2241272.gif[] |
| 21 | +* pr:10412[] highlight `asm!` as format string: |
| 22 | ++ |
| 23 | +image::https://user-images.githubusercontent.com/1786438/135606261-a1cb6caf-0a7f-45f7-9dde-0275370b0889.png[] |
| 24 | +* pr:10441[] hide type inlay hints for constructors: |
| 25 | ++ |
| 26 | +image::https://user-images.githubusercontent.com/3757771/135773135-caa363a2-ff40-42c2-baea-95809b85017f.png[] |
| 27 | +* pr:10181[] add basic LSIF support. |
| 28 | +* pr:10384[] add native `onEnterRules` for Code. |
| 29 | +* pr:10385[] make `extern crate test;` work. |
| 30 | +* pr:10366[] enable attribute proc macros by default. |
| 31 | + |
| 32 | + |
| 33 | +== Fixes |
| 34 | + |
| 35 | +* pr:10416[] (first contribution) about `vscode-vim` in the `onEnter` docs. |
| 36 | +* pr:10374[] make `stringify!` insert/collapse whitespace when needed. |
| 37 | +* pr:10418[] add whitespace between lifetime and mut keyword in expand macro command. |
| 38 | +* pr:10377[] fix proc macro crash on nightly. |
| 39 | +* pr:10378[] implement most `proc_macro` span handling methods. |
| 40 | +* pr:10305[] move ``GenericParams``'s handling of `impl Trait` into `GenericParams::generic_params_query`. |
| 41 | +* pr:10382[] fix `inline_call` breaking `RecordExprField` shorthands. |
| 42 | +* pr:10373[], pr:10399[] fix `into_iterator` completion on `Vec<{unknown}>`. |
| 43 | +* pr:10389[] use the right `HirFileId` when expanding macros in function parameters. |
| 44 | +* pr:10397[], pr:10400[], pr:10413[] fix format string highlighting for `panic!`, `assert!`, `todo!`, `unimplemented!`, `concat!` and `unreachable!`. |
| 45 | +* pr:10402[] don't show flyimport completions in `use` renames. |
| 46 | +* pr:10411[] parenthesize expressions in `if_to_bool_then` assist where required. |
| 47 | +* pr:10422[] overwrite files when calling `patchelf`. |
| 48 | +* pr:10425[] only highlight the semicolon in "Remove semicolon" diagnostics. |
| 49 | +* pr:10430[] fix rename trying to edit the same range multiple times for certain macro inputs. |
| 50 | +* pr:10437[] fix `extract_variable` not working on macro calls. |
| 51 | +* pr:10436[] fix `await` insertion with `?` during `extract_function`. |
| 52 | +* pr:10439[] fix `insert_use` incorrectly merging glob imports. |
| 53 | +* pr:10442[] limit depth to 1 when searching for `Cargo.toml` to prevent activation in non-Rust projects. |
| 54 | + |
| 55 | + |
| 56 | +== Internal Improvements |
| 57 | + |
| 58 | +* pr:10353[] (first contribution) remove `GenericParams::new`. |
| 59 | +* pr:10364[] rename `Dyn*` to `Any*` nodes. |
| 60 | +* pr:10406[] restructure syntax element highlighting into node and token branches. |
| 61 | +* pr:10414[] add some profiling calls to name resolution. |
| 62 | +* pr:10426[] use naming that matches intended use case. |
| 63 | +* pr:10429[] remove deprecated method. |
| 64 | +* pr:10431[] clean up MBE a bit. |
0 commit comments