aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_assists/src/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* use more precise nameAleksey Kladov2021-05-221-2/+2
|
* internal: replace AstTransformer with mutable syntax treesAleksey Kladov2021-05-221-9/+13
|
* internal: use more mutable APIsAleksey Kladov2021-05-141-18/+16
|
* internal: rewrite assoc item manipulaion to use mutable treesAleksey Kladov2021-05-141-12/+14
|
* internal: introduce `ast::make::ext` module with common shortcutsAleksey Kladov2021-05-091-2/+2
| | | | | | | | | | There's a tension between keeping a well-architectured minimal orthogonal set of constructs, and providing convenience functions. Relieve this pressure by introducing an dedicated module for non-orthogonal shortcuts. This is inspired by the django.shortcuts module which serves a similar purpose architecturally.
* Remove SyntaxRewriter::from_fnLukas Wirth2021-04-231-1/+2
|
* Rename target_ty to self_tyLukas Wirth2021-03-291-2/+2
|
* Merge #8213bors[bot]2021-03-271-2/+7
|\ | | | | | | | | | | | | | | 8213: Added support for const generics in impl generation r=Veykril a=ivan770 Closes #8211 Co-authored-by: ivan770 <[email protected]>
| * Added support for const generics in impl generationivan7702021-03-271-2/+7
| |
* | syntax: return owned string instead of leaking stringcynecx2021-03-261-2/+2
|/
* pull out suggest_name::* to utils; enchance heuristicsVladyslav Katasonov2021-03-021-0/+2
|
* move into_ and as_ generation to a separate fileDomantas Jadenkus2021-02-271-1/+23
|
* Add tests for apply_demorganLukas Wirth2021-02-241-16/+11
|
* De Morgan's Law assist now correctly inverts <, <=, >, >=.lbrande2021-02-241-5/+45
|
* De Morgan's Law assist now correctly parenthesizes binary expressions.lbrande2021-02-241-5/+2
|
* 7526: Rename crate assists to ide_assists.Chetan Khilosiya2021-02-221-0/+434