Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add more tests | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+54 |
| | |||||
* | add "." as a trigger char on type formatting | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+1 |
| | |||||
* | refactor | Simon Vandel Sillesen | 2019-01-06 | 2 | -35/+26 |
| | |||||
* | format code | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+1 |
| | |||||
* | rename unused variable | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+1 |
| | |||||
* | indent on typing dot. fixes #439 | Simon Vandel Sillesen | 2019-01-05 | 4 | -39/+103 |
| | |||||
* | Merge #438 | bors[bot] | 2019-01-05 | 4 | -89/+76 |
|\ | | | | | | | | | | | | | | | 438: show types in local variable hovers r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | fix tests | Aleksey Kladov | 2019-01-05 | 3 | -79/+49 |
| | | |||||
| * | show types in local variable hovers | Aleksey Kladov | 2019-01-05 | 2 | -10/+27 |
| | | |||||
* | | Merge #437 | bors[bot] | 2019-01-05 | 6 | -212/+138 |
|\| | | | | | | | | | | | | | | | 437: refactor goto defenition r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | kill approximatelly_resolve_symbol | Aleksey Kladov | 2019-01-05 | 4 | -90/+11 |
| | | |||||
| * | inline goto_defention tests | Aleksey Kladov | 2019-01-05 | 3 | -66/+58 |
| | | |||||
| * | move goto_defenition to a separate file | Aleksey Kladov | 2019-01-05 | 3 | -11/+91 |
| | | |||||
| * | introduce separate goto_defenition | Aleksey Kladov | 2019-01-05 | 2 | -3/+9 |
| | | |||||
| * | kill accidentally added file | Aleksey Kladov | 2019-01-05 | 1 | -73/+0 |
|/ | |||||
* | Merge #436 | bors[bot] | 2019-01-05 | 3 | -1/+13 |
|\ | | | | | | | | | | | | | | | 436: Allow user to set path to ra_lsp_server in vscode settings r=matklad a=gentoo90 Co-authored-by: gentoo90 <[email protected]> | ||||
| * | Allow user to set path to ra_lsp_server in vscode settings | gentoo90 | 2019-01-05 | 3 | -1/+13 |
| | | |||||
* | | Merge #435 | bors[bot] | 2019-01-05 | 4 | -161/+204 |
|\ \ | |/ |/| | | | | | | | | | | | 435: Refactor hover r=matklad a=matklad Primaraly this moves `hover` to `ra_analysis`, so that we finally can write tests for it! Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | 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 | 4 | -67/+83 |
| | | |||||
| * | wip | Aleksey Kladov | 2019-01-05 | 1 | -0/+26 |
|/ | |||||
* | Merge #414 | bors[bot] | 2019-01-05 | 1 | -2/+25 |
|\ | | | | | | | | | | | | | | | 414: textDocument/hover returns both type name and doc_text r=matklad a=h-michael implement #389 Co-authored-by: Hirokazu Hata <[email protected]> | ||||
| * | Use both type_of and doc_text_for | Hirokazu Hata | 2019-01-05 | 1 | -14/+25 |
| | | |||||
| * | Return type name when doc_text_for returns nothing | Hirokazu Hata | 2019-01-03 | 1 | -0/+12 |
| | | |||||
* | | Merge #434 | bors[bot] | 2019-01-05 | 2 | -2/+48 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 434: change visibility can change pub to pub(crate) r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | change visibility can change pub to pub(crate) | Aleksey Kladov | 2019-01-05 | 2 | -2/+48 |
| | | | |||||
* | | | Merge #432 | bors[bot] | 2019-01-05 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 432: Fix link in architecture.md r=matklad a=detrumi Co-authored-by: Wilco Kusee <[email protected]> | ||||
| * | | | Fix link in architecture.md | Wilco Kusee | 2019-01-05 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge #431 | bors[bot] | 2019-01-05 | 1 | -1/+2 |
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 431: fixes for LSP file system operations r=matklad a=vemoo fixes for #131 Co-authored-by: Bernardo <[email protected]> | ||||
| * | | | fix open of created or renamed file | Bernardo | 2019-01-05 | 1 | -1/+2 |
| |/ / | |||||
* | | | Merge #430 | bors[bot] | 2019-01-05 | 4 | -0/+126 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 430: split import assist r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | split import assist | Aleksey Kladov | 2019-01-05 | 4 | -0/+126 |
|/ / | |||||
* | | Merge #427 | bors[bot] | 2019-01-05 | 1 | -2/+58 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 427: Remove extra space when joining lines in use items r=matklad a=alanhdu Fixes #423. Co-authored-by: Alan Du <[email protected]> | ||||
| * | | Fix join_lines use_items right w/ and w/o comma | Alan Du | 2019-01-05 | 1 | -3/+22 |
| | | | |||||
| * | | Address join lines use items right } | Alan Du | 2019-01-05 | 1 | -3/+21 |
| | | | |||||
| * | | Remove extra space when joining lines in use items | Alan Du | 2019-01-04 | 1 | -0/+19 |
| | | | |||||
* | | | :arrow_up: rowan | Aleksey Kladov | 2019-01-04 | 1 | -27/+4 |
| | | | |||||
* | | | Merge #370 | bors[bot] | 2019-01-04 | 26 | -62/+548 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -3/+3 |
| | | | | |||||
| * | | | Do impl collection per module, not per crate | Florian Diebold | 2019-01-04 | 3 | -33/+32 |
| | | | | |||||
| * | | | Rename ImplBlock::target -> target_type, and add target_trait already | Florian Diebold | 2019-01-04 | 2 | -7/+17 |
| | | | | |||||
| * | | | Rename traits::impl_item -> impl_block as well, as well as the tests | Florian Diebold | 2019-01-04 | 6 | -4/+4 |
| | | | | |||||
| * | | | 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. | ||||
| * | | | Refactor a bit | Florian Diebold | 2019-01-04 | 1 | -58/+62 |
| | | | | |||||
| * | | | Resolve the Self type | Florian Diebold | 2019-01-04 | 3 | -24/+71 |
| | | | | |||||
| * | | | Resolve the self parameter during type inference | Florian Diebold | 2019-01-04 | 3 | -4/+19 |
| | | | | |||||
| * | | | Type the self parameter | Florian Diebold | 2019-01-04 | 6 | -9/+116 |
| | | | | |||||
| * | | | Add HIR for impl blocks | Florian Diebold | 2019-01-04 | 11 | -8/+269 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Add test for self type inference | Florian Diebold | 2019-01-04 | 2 | -0/+23 |
| | | | |