Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge #505 | bors[bot] | 2019-01-12 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | | | | | 505: Inherent methods r=matklad a=flodiebold This adds resolution, type checking and completion for inherent methods. The main open question here is the caching, I think. I'm not sure whether we should be caching method resolutions in a more fine grained way (currently we just build a hash map of types -> impl blocks, and iterate through all potential impl blocks when looking for a method). Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | Complete inherent methods | Florian Diebold | 2019-01-12 | 1 | -0/+1 | |
| | | ||||||
* | | Merge #500 | bors[bot] | 2019-01-12 | 6 | -99/+154 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | 500: Code lens support for running tests r=matklad a=kjeremy Supports running individual and mod tests. I feel like this kind of abuses the `Runnables` infrastructure but it works. Maybe later on down the line we should introduce a struct that is really just a tuple of binary, arguments, and environment and pass that back to the client instead. `run_single.ts` is just a paired down version of `runnables.ts` and there is duplication because I think run_single will probably change independent of runnables. Co-authored-by: Jeremy A. Kolb <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | Move `CargoTargetSpec` and friends to cargo_target_spec module | Jeremy Kolb | 2019-01-12 | 3 | -90/+102 | |
| | | ||||||
| * | Code lens support for running tests | Jeremy A. Kolb | 2019-01-11 | 4 | -85/+128 | |
| | | ||||||
* | | Switch hover to use MarkupContent | Jeremy Kolb | 2019-01-12 | 1 | -2/+5 | |
| | | | | | | | | MarkedString is deprecated | |||||
* | | warn louder on mising sysroot | Aleksey Kladov | 2019-01-11 | 2 | -1/+9 | |
|/ | ||||||
* | actually produce missing def kinds | Aleksey Kladov | 2019-01-11 | 1 | -0/+4 | |
| | ||||||
* | Merge #496 | bors[bot] | 2019-01-11 | 2 | -9/+35 | |
|\ | | | | | | | | | | | | | | | 496: Include two element ranges into the nav. r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | fix tests | Aleksey Kladov | 2019-01-11 | 1 | -2/+3 | |
| | | ||||||
| * | use location link in goto def | Aleksey Kladov | 2019-01-11 | 2 | -12/+25 | |
| | | ||||||
| * | return ref ranges from gotodef | Aleksey Kladov | 2019-01-11 | 2 | -4/+16 | |
| | | ||||||
* | | prioritize event handing over indexing | Aleksey Kladov | 2019-01-11 | 1 | -4/+15 | |
|/ | | | | | | If we index gazillion libraries simultaneously, we fill the threadpool and so the main loop fails to turn, although there isn't really any significant blocking inside the loop itself. | |||||
* | fix on-type offset | Aleksey Kladov | 2019-01-11 | 1 | -26/+21 | |
| | ||||||
* | minor | Aleksey Kladov | 2019-01-10 | 2 | -6/+2 | |
| | ||||||
* | wire sysroot into crate graph | Aleksey Kladov | 2019-01-10 | 2 | -6/+72 | |
| | ||||||
* | special case std | Aleksey Kladov | 2019-01-10 | 1 | -2/+6 | |
| | ||||||
* | use arena for sysroot | Aleksey Kladov | 2019-01-10 | 1 | -49/+80 | |
| | ||||||
* | split module | Aleksey Kladov | 2019-01-10 | 3 | -241/+261 | |
| | ||||||
* | add sysroot boilerplate | Aleksey Kladov | 2019-01-10 | 5 | -31/+117 | |
| | ||||||
* | switch CargoWorkspace to arena | Aleksey Kladov | 2019-01-10 | 1 | -30/+26 | |
| | ||||||
* | add completion detail | Aleksey Kladov | 2019-01-09 | 1 | -0/+1 | |
| | ||||||
* | Fix typos in ARCHITECTURE.md and a number of crates | Marcus Klaas de Vries | 2019-01-09 | 1 | -1/+1 | |
| | | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir | |||||
* | Fix typo defenition -> definition | Marcus Klaas de Vries | 2019-01-08 | 1 | -1/+1 | |
| | ||||||
* | fix usages after rename | Aleksey Kladov | 2019-01-08 | 5 | -8/+8 | |
| | ||||||
* | upstream text-utils to text_unit | Aleksey Kladov | 2019-01-08 | 1 | -4/+3 | |
| | ||||||
* | dont depend on ra_editor directly | Aleksey Kladov | 2019-01-08 | 1 | -1/+1 | |
| | ||||||
* | switch to newer cargo-metadata | Aleksey Kladov | 2019-01-08 | 1 | -12/+9 | |
| | ||||||
* | introduce CallInfo | Aleksey Kladov | 2019-01-08 | 1 | -17/+11 | |
| | ||||||
* | migrate ra_lsp_server to new rowan | Aleksey Kladov | 2019-01-08 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | indent on typing dot. fixes #439 | Simon Vandel Sillesen | 2019-01-05 | 1 | -22/+34 | |
| | ||||||
* | introduce separate goto_defenition | Aleksey Kladov | 2019-01-05 | 1 | -3/+2 | |
| | ||||||
* | move hover implementation to ra_analysis | Aleksey Kladov | 2019-01-05 | 1 | -41/+9 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | Rename ImplItem to ImplBlock | Florian Diebold | 2019-01-04 | 1 | -1/+1 | |
| | | | | | | | | | | rustc uses the name ImplItem for items in impls, not the impl {} block itself, which could lead to confusion. | |||||
* | | extract area to a crate | Aleksey Kladov | 2019-01-04 | 3 | -14/+27 | |
| | | ||||||
* | | use lsp WorkspaceEdit instead of custom source_file_edits and file_system_edits | Bernardo | 2019-01-03 | 2 | -36/+37 | |
|/ | ||||||
* | use LocalPtr in navigation target | Aleksey Kladov | 2019-01-03 | 1 | -1/+1 | |
| | ||||||
* | use navigation target in API | Aleksey Kladov | 2019-01-02 | 2 | -19/+25 | |
| | ||||||
* | introduce navigation target | Aleksey Kladov | 2019-01-02 | 1 | -5/+5 | |
| | ||||||
* | Merge #165 | bors[bot] | 2018-12-31 | 1 | -0/+10 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 165: Make modules with tests runnable r=farodin91 a=farodin91 Fixes #154 I having problems to traverse the path to module. The main problem is that module_tree only supports `FileId` and not `Module` in files. Any idea? I need to clean up the code a bit later. Co-authored-by: Jan Jansen <[email protected]> | |||||
| * | Make modules with tests runnable | Jan Jansen | 2018-12-31 | 1 | -0/+10 | |
| | | | | | | | | Fixes #154 | |||||
* | | fix icons in completion | Aleksey Kladov | 2018-12-31 | 1 | -1/+0 | |
| | | ||||||
* | | Merge #385 | bors[bot] | 2018-12-31 | 3 | -4/+25 | |
|\ \ | |/ |/| | | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Use TryConv for conversion | DJMcNab | 2018-12-31 | 1 | -2/+1 | |
| | | ||||||
| * | Implement DocumentHighlight | DJMcNab | 2018-12-31 | 3 | -4/+26 | |
| | |