Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 |
|/ | |||||
* | place complete_use_tree_keyword in the same mod with complete_expr_keyword | gfreezy | 2019-01-01 | 3 | -77/+67 |
| | |||||
* | move to a seperate complete_use_tree_keyword mod | gfreezy | 2019-01-01 | 3 | -64/+77 |
| | |||||
* | complete "self" and "super" | gfreezy | 2019-01-01 | 1 | -20/+44 |
| | |||||
* | complete "use crate" for "use cr" too | gfreezy | 2019-01-01 | 1 | -2/+14 |
| | |||||
* | complete crate in use stmt | gfreezy | 2019-01-01 | 1 | -0/+29 |
| | |||||
* | Merge #395 | bors[bot] | 2018-12-31 | 2 | -14/+19 |
|\ | | | | | | | | | | | | | | | 395: generalize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | generalize highlighting to work with nodes | Aleksey Kladov | 2018-12-31 | 1 | -2/+2 |
| | | |||||
| * | generalize extend selection to work with nodes | Aleksey Kladov | 2018-12-31 | 1 | -12/+17 |
| | | |||||
* | | Make modules with tests runnable | Jan Jansen | 2018-12-31 | 5 | -4/+272 |
|/ | | | | Fixes #154 | ||||
* | Merge #375 | bors[bot] | 2018-12-30 | 3 | -3/+123 |
|\ | | | | | | | | | | | | | | | | | | | 375: Move renames into ra_analysis and rename the correct range r=DJMcNab a=DJMcNab Fixes #230. Supersedes #235. TODO: add some tests for this Co-authored-by: DJMcNab <[email protected]> |