Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pass Documentation up to LSP and add "rust" to our codeblocks there | Jeremy Kolb | 2019-01-30 | 4 | -15/+54 |
| | |||||
* | opt-in jemalloc | Aleksey Kladov | 2019-01-28 | 1 | -0/+3 |
| | |||||
* | align command naming | Aleksey Kladov | 2019-01-28 | 3 | -14/+14 |
| | |||||
* | automatically collect garbage | Aleksey Kladov | 2019-01-27 | 2 | -2/+7 |
| | |||||
* | Don't use the reserved error code | DJMcNab | 2019-01-26 | 1 | -1/+1 |
| | |||||
* | Return an lsp error | DJMcNab | 2019-01-26 | 1 | -5/+8 |
| | |||||
* | Use the correct working directory for cargo metadata and rustfmt | DJMcNab | 2019-01-26 | 2 | -7/+20 |
| | |||||
* | Fold blocks of mod items. | Andrea Pretto | 2019-01-25 | 1 | -0/+1 |
| | | | | Fixes #572 | ||||
* | add gc request | Aleksey Kladov | 2019-01-25 | 3 | -9/+30 |
| | |||||
* | Fill in DocumentSymbol::detail | Hrvoje Ban | 2019-01-24 | 1 | -1/+1 |
| | |||||
* | Fix target_selection_range type | Hirokazu Hata | 2019-01-23 | 1 | -1/+1 |
| | |||||
* | Bumpup lsp-types to v0.55.0 | Hirokazu Hata | 2019-01-23 | 1 | -1/+1 |
| | |||||
* | ad status command | Aleksey Kladov | 2019-01-22 | 4 | -0/+28 |
| | |||||
* | Teach CompletionItem about documentation | Jeremy Kolb | 2019-01-22 | 1 | -2/+10 |
| | |||||
* | Merge #574 | bors[bot] | 2019-01-20 | 2 | -17/+27 |
|\ | | | | | | | | | | | | | | | | | 574: refactor completions to use TextEdit instead of InsertText r=matklad a=gfreezy 1. migrate from `insertText` to `TextEdit` from `CompleteItem` 2. use `insta` to test completions Co-authored-by: gfreezy <[email protected]> | ||||
| * | use a combination of `source_change` and `text_edit` for `CompleteItem` | gfreezy | 2019-01-20 | 1 | -7/+4 |
| | | |||||
| * | refactor to use `remove_range` and `replace_range` instead of TextEdit | gfreezy | 2019-01-19 | 1 | -7/+13 |
| | | |||||
| * | refactor completions to use TextEdit instead of InsertText | gfreezy | 2019-01-19 | 2 | -17/+24 |
| | | |||||
* | | extend selection expands macros and can totally panic | Aleksey Kladov | 2019-01-20 | 1 | -4/+8 |
| | | |||||
* | | somewhat better name | Aleksey Kladov | 2019-01-20 | 1 | -1/+1 |
| | | |||||
* | | make matching brace consistent | Aleksey Kladov | 2019-01-20 | 1 | -2/+1 |
|/ | |||||
* | more idiomatic code | gfreezy | 2019-01-19 | 1 | -5/+6 |
| | |||||
* | 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 |
| |