aboutsummaryrefslogtreecommitdiff
path: root/docs/user/assists.md
Commit message (Collapse)AuthorAgeFilesLines
* Snippetify unwrap -> matchAleksey Kladov2020-05-201-1/+1
|
* Snippetify introduce/inline varAleksey Kladov2020-05-201-1/+1
|
* Snippetify fix_visibilityAleksey Kladov2020-05-201-1/+1
|
* Snippetify fill_match_armsAleksey Kladov2020-05-201-1/+1
|
* Split change_ and fix_ visibility assistsAleksey Kladov2020-05-201-0/+22
|
* Use snippets in change_return_type_to_resultAleksey Kladov2020-05-201-1/+1
|
* Snippetify add_newAleksey Kladov2020-05-201-1/+1
|
* Better cursor placement when adding impl membersAleksey Kladov2020-05-201-2/+2
|
* Use snippets in add_missing_membersAleksey Kladov2020-05-201-2/+2
|
* Use snippets in add functionAleksey Kladov2020-05-201-1/+1
|
* New assist: add turbo fishAleksey Kladov2020-05-191-0/+18
|
* Add snippet support for some assistsAleksey Kladov2020-05-191-5/+5
|
* add Ok wrappingBenjamin Coenen2020-05-061-0/+12
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-05-021-1/+3
|\
| * Add missing members generates indented blocksAleksey Kladov2020-05-021-1/+3
| |
* | Add unwrap block assist #4156Benjamin Coenen2020-04-291-2/+2
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | Add unwrap block assist #4156Benjamin Coenen2020-04-291-0/+18
|/ | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Make add_function generate functions in other modules via qualified pathTimo Freiberg2020-04-211-2/+2
|
* Change add_function assist to use todo!()Timo Freiberg2020-04-131-1/+1
|
* Merge #3925bors[bot]2020-04-111-0/+15
|\ | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * Generate docGeoffrey Copin2020-04-111-0/+15
| |
* | Change missing impl assist to use todo!() instead of unimplemented()Chris Hopman2020-04-101-1/+1
|/ | | | | | | | | | | | todo!() "Indicates unfinished code" (https://doc.rust-lang.org/std/macro.todo.html) Rust documentation provides further clarification: > The difference between unimplemented! and todo! is that while todo! > conveys an intent of implementing the functionality later and the > message is "not yet implemented", unimplemented! makes no such claims. todo!() seems more appropriate for assists that insert missing impls.
* Add create_function assistTimo Freiberg2020-04-011-0/+26
|
* Fix assist descriptionAleksey Kladov2020-03-271-1/+1
|
* Merge #3742bors[bot]2020-03-271-0/+23
|\ | | | | | | | | | | | | | | | | | | | | 3742: Replace if with if-let r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Replace if with if-letAleksey Kladov2020-03-271-0/+23
| |
* | Assist: replace unwrap with matchUnreal Hoang2020-03-261-0/+23
|/
* update assists docsJosh Mcguigan2020-03-241-2/+2
|
* Merge imports assistAleksey Kladov2020-03-181-0/+13
| | | | Work towards #2220
* Add `remove_mut` assistAleksey Kladov2020-02-191-0/+16
|
* Rename add import assistKirill Bulatov2020-02-071-14/+14
|
* Doctest autoimportAleksey Kladov2020-02-061-1/+1
|
* Initial auto import action implementationKirill Bulatov2020-01-261-0/+18
|
* Fill in type params in 'add missing impl members' assistFlorian Diebold2019-12-241-11/+11
|
* docs: describe new feature 'add custom impl for derived trait'Paulo Lieuthier2019-11-281-0/+18
|
* do refact and fix some issuebravomikekilo2019-11-241-2/+2
|
* initial invert_ifbravomikekilo2019-11-211-0/+19
|
* Add add_new assistWesley Norris2019-11-091-0/+21
| | | | | | | Adds a new assist to autogenerate a new fn based on the selected struct, excluding tuple structs and unions. The fn will inherit the same visibility as the struct and the assist will attempt to reuse any existing impl blocks that exist at the same level of struct.
* move all assists to use generated docsAleksey Kladov2019-10-271-0/+14
|
* use new api for flip_trait_bound assistAleksey Kladov2019-10-271-0/+12
|
* document almost all assistsAleksey Kladov2019-10-271-0/+119
|
* document some more assistsAleksey Kladov2019-10-271-0/+93
|
* use unicode bar for drawing the cursorAleksey Kladov2019-10-261-13/+16
|
* support range selection in assist docsAleksey Kladov2019-10-261-0/+17
|
* check style for assist docsAleksey Kladov2019-10-261-4/+53
|
* use correct spacing for enum patternAleksey Kladov2019-10-261-1/+1
|
* document a couple of assistsAleksey Kladov2019-10-261-0/+37
|
* generate more assists docsAleksey Kladov2019-10-251-0/+137
|
* auto-generate assists docs and testsAleksey Kladov2019-10-251-0/+24