Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix comments | gfreezy | 2019-01-19 | 1 | -31/+3 | |
| | ||||||
* | rename mod | gfreezy | 2019-01-19 | 2 | -20/+32 | |
| | ||||||
* | :arrow_up: update rust | Aleksey Kladov | 2019-01-19 | 2 | -2/+0 | |
| | ||||||
* | update cargo_metadata | Aleksey Kladov | 2019-01-14 | 2 | -3/+6 | |
| | ||||||
* | switch to lsp-types | Aleksey Kladov | 2019-01-14 | 9 | -24/+24 | |
| | ||||||
* | target_selection_range is not nullable in the implementation | Aleksey Kladov | 2019-01-13 | 1 | -5/+10 | |
| | ||||||
* | Merge #517 #518 | bors[bot] | 2019-01-13 | 1 | -4/+21 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 517: gracefully handle cycles in crate graph r=matklad a=matklad 518: Add an explanatory message when we use the Query fallback r=matklad a=DJMcNab Fixes https://github.com/rust-analyzer/rust-analyzer/issues/269. There is no good way to explain it for go_to_def, so I've just fallen back on to_vec. Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: DJMcNab <[email protected]> | |||||
| * | gracefully handle cycles in crate graph | Aleksey Kladov | 2019-01-13 | 1 | -4/+21 | |
| | | | | | | | | | | rust-lang/rust has absolutely weird setup with rustc-workspace-shim, which leads to real cycles. | |||||
* | | Add bench runnable and code lens | Jeremy Kolb | 2019-01-12 | 2 | -35/+48 | |
|/ | ||||||
* | 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 | |
| | ||||||
* | force serde in ra_syntax | Aleksey Kladov | 2019-01-11 | 1 | -2/+0 | |
| | ||||||
* | minor | Aleksey Kladov | 2019-01-10 | 2 | -6/+2 | |
| | ||||||
* | wire sysroot into crate graph | Aleksey Kladov | 2019-01-10 | 4 | -37/+95 | |
| | ||||||
* | 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 | 6 | -32/+157 | |
| | ||||||
* | dont depend on tools from lsp-server | Aleksey Kladov | 2019-01-10 | 2 | -3/+0 | |
| | ||||||
* | switch CargoWorkspace to arena | Aleksey Kladov | 2019-01-10 | 2 | -30/+27 | |
| | ||||||
* | 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 | 6 | -9/+9 | |
| | ||||||
* | 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 | 2 | -2/+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. |