Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DynMap | Aleksey Kladov | 2019-12-06 | 1 | -2/+12 |
| | | | | | This might, or might not help us to reduce boilerplate associated with plumbing values from analysis to the IDE layer | ||||
* | Next gen IDs for functions | Aleksey Kladov | 2019-11-20 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | | The current system with AstIds has two primaraly drawbacks: * It is possible to manufacture IDs out of thin air. For example, it's possible to create IDs for items which are not considered in CrateDefMap due to cfg. Or it is possible to mixup structs and unions, because they share ID space. * Getting the ID of a parent requires a secondary index. Instead, the plan is to pursue the more traditional approach, where each items stores the id of the parent declaration. This makes `FromSource` more awkward, but also more correct: now, to get from an AST to HIR, we first do this recursively for the parent item, and the just search the children of the parent for the matching def | ||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Correctly build BodySourceMap for macro-expanded expressions | Aleksey Kladov | 2019-09-03 | 1 | -2/+3 |
| | |||||
* | Add an expr_source method analogous to the source methods in the code model | Florian Diebold | 2019-09-02 | 1 | -3/+2 |
| | | | | ... and use that instead of exposing the source map. | ||||
* | Cast SyntaxNodePtr to AstPtr directly | Phil Ellison | 2019-08-25 | 1 | -0/+7 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -1/+1 |
| | |||||
* | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 1 | -3/+3 |
| | |||||
* | cleanup casts | Aleksey Kladov | 2019-07-19 | 1 | -6/+2 |
| | |||||
* | several highlighting cleanups | Aleksey Kladov | 2019-07-19 | 1 | -0/+11 |
| | | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function | ||||
* | migrate ra_syntax to the new rowan API | Aleksey Kladov | 2019-07-19 | 1 | -5/+6 |
| | |||||
* | use more correct phantom types for ptrs | Aleksey Kladov | 2019-07-18 | 1 | -1/+1 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -7/+2 |
| | | | | | | 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 | ||||
* | remove old parsing methods | Aleksey Kladov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | make AstId untyped | Aleksey Kladov | 2019-05-13 | 1 | -7/+8 |
| | |||||
* | start structured editing API | Aleksey Kladov | 2019-04-21 | 1 | -1/+1 |
| | |||||
* | replace usages of `algo::generate` with `iter::successors` from std | Robin Freyler | 2019-04-13 | 1 | -4/+5 |
| | |||||
* | allow dyn diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -0/+6 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -15/+4 |
| | |||||
* | minor rename | Aleksey Kladov | 2019-01-24 | 1 | -4/+4 |
| | |||||
* | introduced better typed AstPtr | Aleksey Kladov | 2019-01-23 | 1 | -0/+34 |
| | |||||
* | move SyntaxPtr to ra_syntax | Aleksey Kladov | 2019-01-23 | 1 | -0/+53 |