|
| 1 | += Changelog #67 |
| 2 | +:sectanchors: |
| 3 | +:page-layout: post |
| 4 | + |
| 5 | +Commit: commit:d54e1157b66017e4aae38328cd213286e39ca130[] + |
| 6 | +Release: release:2021-03-08[] |
| 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:7777[] add line to block and back comment conversion assist: |
| 16 | ++ |
| 17 | +image::https://user-images.githubusercontent.com/308347/110304890-c8155d80-8004-11eb-8a4a-89a90e059d92.gif[] |
| 18 | + |
| 19 | +* pr:7335[] (first contribution) add region folding support: |
| 20 | ++ |
| 21 | +image::https://user-images.githubusercontent.com/308347/110306982-19bee780-8007-11eb-8b8c-be5e46330586.gif[] |
| 22 | + |
| 23 | +* pr:7691[] suggest name in "extract variable" assist: |
| 24 | ++ |
| 25 | +image::https://user-images.githubusercontent.com/4218373/108013304-72105400-701c-11eb-9f13-eec52e74d0cc.gif[] |
| 26 | ++ |
| 27 | +image::https://user-images.githubusercontent.com/4218373/108013305-72a8ea80-701c-11eb-957e-2214f7f005de.gif[] |
| 28 | + |
| 29 | +* pr:7795[] show docs on hover for keywords and primitives: |
| 30 | ++ |
| 31 | +image::https://user-images.githubusercontent.com/3757771/109369534-eeb4f500-789c-11eb-8f2b-2f9c4e129de3.gif[] |
| 32 | + |
| 33 | +* pr:7824[] (first contribution) "add type ascription" assist: |
| 34 | ++ |
| 35 | +image::https://user-images.githubusercontent.com/308347/110307658-d7e27100-8007-11eb-965b-2e9a294e7d22.gif[] |
| 36 | + |
| 37 | +* pr:7894[] generate_function assist: convert arg names to lower snake case: |
| 38 | ++ |
| 39 | +image::https://user-images.githubusercontent.com/308347/110308337-a9b16100-8008-11eb-8aa7-bf58be48d089.gif[] |
| 40 | + |
| 41 | +* pr:7800[] add "generate `default()`" assist: |
| 42 | ++ |
| 43 | +image::https://user-images.githubusercontent.com/308347/110308811-3f4cf080-8009-11eb-9e0f-a87c36aaec09.gif[] |
| 44 | + |
| 45 | +* pr:7866[] add `while let` completion. |
| 46 | +* pr:7889[] make imports grouping configurable via `rust-analyzer.assist.importGroup`. |
| 47 | +* pr:7868[] rename `rust-analyzer.cargo.loadOutDirsFromCheck` to `rust-analyzer.cargo.runBuildScripts`. |
| 48 | + |
| 49 | +== Fixes |
| 50 | + |
| 51 | +* pr:7778[] fix lowering trailing `self` paths in `UseTree`s |
| 52 | +* pr:7834[] fix `find_path` when inner items are present. |
| 53 | +* pr:7827[] (first contribution) fix proc macro `TokenStream::from_str` token ids. |
| 54 | +* pr:7844[] fix `ProcMacroClient` being dropped too early in CLI. |
| 55 | +* pr:7513[] implement an NFA parser for macro-by-example. |
| 56 | +* pr:7884[] simplify `TokenStream::from_str`. |
| 57 | +* pr:7850[] don't add space when joining line to opening quote. |
| 58 | +* pr:7861[] special-case parenthesized and negated expressions in De Morgan's Law assist. |
| 59 | +* pr:7863[] prevent renaming `SelfType` and `BuiltinType`. |
| 60 | +* pr:7880[] honor snippet capability in the "extract function" assist. |
| 61 | +* pr:7869[] add support for deref assignments to "pull assignment up" assist. |
| 62 | +* pr:7887[] fix path parsing when using `meta` in MBE. |
| 63 | +* pr:7888[] add a note about code action commands to the `coc.nvim` section of the docs. |
| 64 | +* pr:7865[] preserve escape sequences when replacing string with char. |
| 65 | +* pr:7896[] fix raw string handling in "replace string with char" assist. |
| 66 | +* pr:7892[] fix `TokenStream::from_str` for input consisting of a single group with delimiter. |
| 67 | + |
| 68 | +== Internal Improvements |
| 69 | + |
| 70 | +* pr:7819[] speed up heavy tests. |
| 71 | +* pr:7820[], pr:7837[] Improve VS Code extension README. |
| 72 | +* pr:7823[] bring `Ty::InferenceVar` closer to `chalk` equivalent. |
| 73 | +* pr:7826[] introduce `Ty::Alias`. |
| 74 | +* pr:7833[] use `chalk_ir::Mutability`. |
| 75 | +* pr:7870[] use `chalk_ir::AdtId`. |
| 76 | +* pr:7828[], pr:7836[] lint against versioned dev dependencies to fix automatic publishing. |
| 77 | +* pr:7832[] drop pre-commit `git` hook. |
| 78 | +* pr:7835[], pr:7847[], pr:7876[], pr:7881[], pr:7849[] migrate to a CLI parser with auto-generated help. |
| 79 | +* pr:7899[] rename a few `crate_def_map`s to `def_map`. |
| 80 | +* pr:7851[] compress tests. |
| 81 | +* pr:7858[] clarify comparison rule in the style docs. |
0 commit comments