aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/introduce_variable.rs
Commit message (Collapse)AuthorAgeFilesLines
* switch to new rowanAleksey Kladov2019-04-011-15/+13
|
* add marks to assistsAleksey Kladov2019-02-241-45/+35
|
* dont show introduce variable everywhereAleksey Kladov2019-02-241-41/+27
|
* Assign IDs to assistsAleksey Kladov2019-02-241-2/+2
|
* ra_assists: assist "providers" can produce multiple assistsAndrea Pretto2019-02-111-3/+5
|
* Fix introduce var duplicating newlinesVille Penttinen2019-02-091-1/+80
| | | | | | | | | | | | | This fixes #713. If the block before the statement we want to use introduce var on, had empty lines these empty lines would also be added between the let-statement and the current line where the new variable is used. This fixes that by trimming excess newlines from the start of the indent chunk and simply adding a single newline (when the chunk had newlines) between the let-statement and the current statement. If there were no newlines this matches the previous behaviour.
* Add tests for action target rangesrobojumper2019-02-081-3/+32
|
* reformat the worldAleksey Kladov2019-02-081-5/+1
|
* Some clippy cleanupskjeremy2019-02-061-3/+3
|
* move assists to a separate crateAleksey Kladov2019-02-061-0/+432