aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/introduce_variable.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix assistsAleksey Kladov2019-09-021-3/+6
|
* refactor TryConvWith similar to ConvWithAleksey Kladov2019-08-201-4/+1
|
* switch to upstream rowan's APIAleksey Kladov2019-07-201-3/+2
|
* align SyntaxText API with upstreamAleksey Kladov2019-07-201-2/+3
|
* rename range -> text_rangeAleksey Kladov2019-07-201-6/+6
|
* migrate ra_assists to the new ASTAleksey Kladov2019-07-191-12/+12
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-4/+8
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Fix clippy::single_char_patternAlan Du2019-06-041-2/+2
|
* 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