rust/crates/ra_assists/src
bors[bot] fd06fe7b13
Merge #3925
3925: Implement assist "Reorder field names" r=matklad a=geoffreycopin

This PR implements the "Reorder record fields" assist as discussed in issue #3821 .

Adding a `RecordFieldPat` variant to the `Pat` enum seemed like the easiest way to handle the `RecordPat` children as a single sequence of elements, maybe there is a better way ?

Co-authored-by: Geoffrey Copin <copin.geoffrey@gmail.com>
2020-04-11 18:40:46 +00:00
..
doc_tests Merge #3925 2020-04-11 18:40:46 +00:00
handlers Merge #3925 2020-04-11 18:40:46 +00:00
utils Add a FIXME 2020-02-29 21:23:16 +01:00
assist_ctx.rs Generalise syntax rewriting infrastructure to allow removal of nodes 2020-03-24 17:14:33 +01:00
ast_transform.rs Generalise syntax rewriting infrastructure to allow removal of nodes 2020-03-24 17:14:33 +01:00
doc_tests.rs
lib.rs Implement assist "Reorder field names" 2020-04-10 00:57:03 +02:00
marks.rs Fix add visibility false-positive 2020-03-25 15:55:57 +01:00
utils.rs Rename ast::ImplBlock -> ast::ImplDef 2020-02-29 21:33:15 +01:00