aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add convert tuple struct to named struct assistunexge2021-04-041-0/+2
|
* Convert Into to From assistGraeme Coupar2021-04-031-0/+2
| | | | | | | | | | | | This adds a "Convert Into to From" assist, useful since clippy has recently started adding lints on every `Into`. It covers converting the signature, and converting any `self`/`Self` references within the body to the correct types. It does assume that every instance of `Into` can be converted to a `From`, which I _think_ is the case now. Let me know if there's something I'm not thinking of and I can try and make it smarter.
* Implement "Extract type alias" assistJonas Schievink2021-03-261-0/+2
|
* 7709: Added the assist to generate is_empty functionChetan Khilosiya2021-03-151-0/+2
| | | | | the assist will be shown when the len function is implemented. is_empty internally uses len function.
* feat: add assist to conver for_each into for loopsLuiz Carlos MourĂ£o Paes de Carvalho2021-03-101-0/+2
|
* 7708: Initial implementation of generate Default assist.Chetan Khilosiya2021-03-061-0/+2
| | | | The Generate Default impl from new function.
* Merge #7777bors[bot]2021-03-021-0/+2
|\ | | | | | | | | | | | | | | 7777: Implement line<->block comment assist r=Veykril a=djrenren Fixes: https://github.com/rust-analyzer/rust-analyzer/issues/6515 Co-authored-by: John Renner <[email protected]>
| * Implement line<->block comment assistJohn Renner2021-02-251-0/+2
| |
* | Use consistent naming for assistAleksey Kladov2021-02-281-6/+6
| |
* | generate try_into instead of intoDomantas Jadenkus2021-02-271-1/+1
| |
* | rename generate_enum_match_method file to match assist nameDomantas Jadenkus2021-02-271-2/+2
| |
* | move into_ and as_ generation to a separate fileDomantas Jadenkus2021-02-271-2/+3
| |
* | add generate_enum_as_method assistDomantas Jadenkus2021-02-271-0/+1
| |
* | add generate_enum_into_method assistDomantas Jadenkus2021-02-271-0/+1
| |
* | rename existing assist to generate_enum_is_methodDomantas Jadenkus2021-02-271-1/+1
| |
* | Add convert_for_to_iter_for_each assistMatt Hall2021-02-231-0/+2
|/
* 7526: Rename crate assists to ide_assists.Chetan Khilosiya2021-02-221-0/+246