aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/algo.rs
Commit message (Collapse)AuthorAgeFilesLines
* Generalise syntax rewriting infrastructure to allow removal of nodesAleksey Kladov2020-03-241-29/+109
|
* Add identity expansion checkingEdwin Cheng2020-03-211-0/+4
|
* GeneralizeAleksey Kladov2020-03-191-0/+4
|
* Cleanup editing APIAleksey Kladov2020-02-291-3/+28
|
* Skip trival token in original_rangeEdwin Cheng2020-02-261-1/+13
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-1/+6
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-4/+5
|
* ra_syntax: changed added diagnostics information returned from tokenize() ↵Veetaha2020-02-031-1/+1
| | | | (implemented with iterators)
* Fix ordering problem between qualifying paths and substituting paramsFlorian Diebold2020-01-111-3/+3
|
* :arrow_up: rowanAleksey Kladov2020-01-091-2/+1
|
* :arrow_up: rowanAleksey Kladov2019-12-041-6/+6
|
* :arrow_up: rowanAleksey Kladov2019-11-191-17/+16
|
* remove `visitor` moduleEkaterina Babshukova2019-10-051-2/+0
|
* Merge branch 'master' into feature/issue/1856Alexander Andreev2019-09-301-2/+15
|\ | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs
| * move field list to ast/edit.rsAleksey Kladov2019-09-301-2/+15
| |
* | Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
|/ | | | #1856
* move diff to ra_syntaxAleksey Kladov2019-09-261-0/+42
|
* add new editing API, suitable for modifying several nodes at onceAleksey Kladov2019-09-251-0/+32
|
* fewer monomorphisationsAleksey Kladov2019-09-251-2/+2
|
* 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