Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | introduce separate goto_defenition | Aleksey Kladov | 2019-01-05 | 1 | -0/+7 |
| | |||||
* | kill accidentally added file | Aleksey Kladov | 2019-01-05 | 1 | -73/+0 |
| | |||||
* | move typeof to hover | Aleksey Kladov | 2019-01-05 | 3 | -18/+18 |
| | |||||
* | fold doc_comment into hover | Aleksey Kladov | 2019-01-05 | 3 | -109/+110 |
| | |||||
* | move hover implementation to ra_analysis | Aleksey Kladov | 2019-01-05 | 3 | -26/+74 |
| | |||||
* | wip | Aleksey Kladov | 2019-01-05 | 1 | -0/+26 |
| | |||||
* | split import assist | Aleksey Kladov | 2019-01-05 | 1 | -0/+73 |
| | |||||
* | Merge #370 | bors[bot] | 2019-01-04 | 4 | -5/+26 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 370: Self params & type r=matklad a=flodiebold This implements type inference for `self`, so field completion for methods taking `self` works now. - rename `IMPL_ITEM` to `IMPL_BLOCK` -- rustc calls the methods etc. inside an impl `ImplItem`s, and the impl itself doesn't define an item, so I thought this name was clearer. - add HIR for impl blocks -- we collect all impls in a crate at once, so we can go from methods to containing impls, and since we will later also need to find all impls for a certain type (which may be anywhere in the crate, I think?). We could be more lazy here, but I don't know if it's worth the complexity. - resolve `self` and `Self` during type inference - refactor a bit in ty.rs as well Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Rename ImplsInCrateQuery as well | Florian Diebold | 2019-01-04 | 1 | -1/+1 |
| | | |||||
| * | Add a test for self field completion | Florian Diebold | 2019-01-04 | 3 | -5/+25 |
| | | | | | | | | Needed to add a default crate graph in the analysis for that. | ||||
| * | Add HIR for impl blocks | Florian Diebold | 2019-01-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it. | ||||
* | | :arrow_up: salsa | Aleksey Kladov | 2019-01-04 | 1 | -1/+1 |
|/ | |||||
* | parse doc comment for items | csmoe | 2019-01-04 | 2 | -2/+3 |
| | |||||
* | index stuff produced by macros | Aleksey Kladov | 2019-01-03 | 2 | -11/+37 |
| | |||||
* | construct index from symbols directly | Aleksey Kladov | 2019-01-03 | 2 | -13/+17 |
| | |||||
* | don't create many compilation units for tests | Aleksey Kladov | 2019-01-03 | 3 | -13/+5 |
| | |||||
* | embed file_id into FileSymbol | Aleksey Kladov | 2019-01-03 | 3 | -35/+34 |
| | |||||
* | fix the test | Aleksey Kladov | 2019-01-03 | 1 | -1/+1 |
| | |||||
* | more enterprisey assists API | Aleksey Kladov | 2019-01-03 | 1 | -13/+3 |
| | |||||
* | split assists over several files | Aleksey Kladov | 2019-01-03 | 1 | -1/+1 |
| | |||||
* | rename code-actions -> assists | Aleksey Kladov | 2019-01-03 | 1 | -6/+6 |
| | |||||
* | hardcode vec macro | Aleksey Kladov | 2019-01-03 | 1 | -1/+9 |
| | |||||
* | Merge #409 | bors[bot] | 2019-01-03 | 1 | -0/+79 |
|\ | | | | | | | | | | | | | | | 409: Add Analysis#teype_of test r=matklad a=h-michael Co-authored-by: Hirokazu Hata <[email protected]> | ||||
| * | Deive type_of test from tests | Hirokazu Hata | 2019-01-03 | 2 | -17/+80 |
| | | |||||
| * | Remove unnecessary mock functions | Hirokazu Hata | 2019-01-03 | 1 | -27/+1 |
| | | |||||
| * | Add Analysis#teype_of test | Hirokazu Hata | 2019-01-03 | 2 | -2/+44 |
| | | |||||
* | | docs | Aleksey Kladov | 2019-01-03 | 2 | -3/+33 |
| | | |||||
* | | use LocalPtr in navigation target | Aleksey Kladov | 2019-01-03 | 3 | -6/+12 |
| | | |||||
* | | use LocalSyntaxPtr for file symbol | Aleksey Kladov | 2019-01-03 | 3 | -53/+49 |
| | | |||||
* | | move some logic to navigation target | Aleksey Kladov | 2019-01-03 | 3 | -113/+127 |
| | | |||||
* | | explain that completion shouldn't do filtering | Aleksey Kladov | 2019-01-03 | 1 | -1/+15 |
|/ | |||||
* | simplify runnables | Aleksey Kladov | 2019-01-02 | 5 | -123/+63 |
| | |||||
* | fix compilation | Aleksey Kladov | 2019-01-02 | 2 | -2/+2 |
| | |||||
* | doctrings | Aleksey Kladov | 2019-01-02 | 1 | -28/+62 |
| | |||||
* | get rid of AnalysisImpl | Aleksey Kladov | 2019-01-02 | 2 | -101/+80 |
| | |||||
* | remove AnalysisHostImpl | Aleksey Kladov | 2019-01-02 | 2 | -45/+26 |
| | |||||
* | remove some methods from analysis impl | Aleksey Kladov | 2019-01-02 | 2 | -22/+13 |
| | |||||
* | move world-symbols to file_symbols | Aleksey Kladov | 2019-01-02 | 3 | -42/+42 |
| | |||||
* | Merge #404 | bors[bot] | 2019-01-02 | 4 | -29/+171 |
|\ | | | | | | | | | | | | | | | 404: Move FileSymbol to ra_analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | fix tests | Aleksey Kladov | 2019-01-02 | 1 | -5/+5 |
| | | |||||
| * | make FileSymbol private | Aleksey Kladov | 2019-01-02 | 2 | -8/+7 |
| | | |||||
| * | use navigation target in API | Aleksey Kladov | 2019-01-02 | 2 | -7/+19 |
| | | |||||
| * | introduce navigation target | Aleksey Kladov | 2019-01-02 | 2 | -8/+23 |
| | | |||||
| * | move symbols to ra_analysis | Aleksey Kladov | 2019-01-02 | 3 | -8/+124 |
| | | |||||
* | | rename MFileId -> HirFileId | Aleksey Kladov | 2019-01-01 | 3 | -4/+4 |
| | | |||||
* | | add items from macros to modules | Aleksey Kladov | 2019-01-01 | 1 | -0/+1 |
| | | |||||
* | | hard-code expansion of query_group | Aleksey Kladov | 2019-01-01 | 1 | -1/+23 |
| | | |||||
* | | rename | Aleksey Kladov | 2019-01-01 | 1 | -4/+4 |
| | | |||||
* | | move more macros to hir | Aleksey Kladov | 2019-01-01 | 5 | -43/+14 |
| | | |||||
* | | use macros database in analysis | Aleksey Kladov | 2019-01-01 | 4 | -62/+22 |
|/ |