aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/algo.rs
Commit message (Collapse)AuthorAgeFilesLines
* streamline APIAleksey Kladov2019-07-211-12/+5
|
* minor, move typeAleksey Kladov2019-07-211-2/+10
|
* switch to upstream rowan's APIAleksey Kladov2019-07-201-13/+104
|
* rename range -> text_rangeAleksey Kladov2019-07-201-1/+1
|
* migrate ra_syntax to the new rowan APIAleksey Kladov2019-07-191-5/+5
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-1/+1
| | | | | | 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 hover on the beginning of a nested expressionFlorian Diebold2019-04-281-3/+18
| | | | | | | | | | | | | | | | E.g. in ``` let foo = 1u32; if true { <|>foo; } ``` the hover shows `()`, the type of the whole if expression, instead of the more sensible `u32`. The reason for this was that the search for an expression was slightly left-biased: When on the edge between two tokens, it first looked at all ancestors of the left token and then of the right token. Instead merge the ancestors in ascending order, so that we get the smaller of the two possible expressions.
* replace usages of `algo::generate` with `iter::successors` from stdRobin Freyler2019-04-131-10/+0
|
* switch to new rowanAleksey Kladov2019-04-011-16/+25
|
* Move `non_trivia_sibling` to `ra_syntax::algo`Ville Penttinen2019-02-211-1/+6
|
* docsAleksey Kladov2019-02-211-0/+1
|
* TyposErlend Tobiassen2019-01-271-2/+2
|
* add commentAleksey Kladov2019-01-081-0/+9
|
* move node at offset to aglo alreadyAleksey Kladov2019-01-081-1/+5
|
* switch ra_syntax to new rowan APIAleksey Kladov2019-01-081-6/+10
|
* grand module renameAleksey Kladov2018-12-081-0/+26