Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add alloc to std deps | Florian Diebold | 2019-02-04 | 1 | -0/+1 |
| | |||||
* | Future proof by explicitly matching against None | kjeremy | 2019-02-04 | 1 | -1/+1 |
| | |||||
* | Add comment | kjeremy | 2019-02-04 | 1 | -0/+4 |
| | |||||
* | Implement lens for impls and support resolving lenses. | Jeremy Kolb | 2019-02-04 | 3 | -3/+85 |
| | |||||
* | Add core to STD_DEPS | Laurențiu Nicola | 2019-02-03 | 1 | -0/+1 |
| | | | See #731. | ||||
* | Use the new Resolver API in completion | Florian Diebold | 2019-02-01 | 1 | -0/+1 |
| | |||||
* | format | Jeremy Kolb | 2019-01-31 | 1 | -1/+3 |
| | |||||
* | Use "▶" for test code lens | Jeremy Kolb | 2019-01-31 | 1 | -1/+1 |
| | | | | I find that this makes code lenses stand out more. | ||||
* | Merge #702 | bors[bot] | 2019-01-30 | 4 | -3/+24 |
|\ | | | | | | | | | | | | | | | | | 702: Go to Implementation r=matklad a=kjeremy First half of #620 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]> | ||||
| * | Go to Implementation for structs and enums | Jeremy Kolb | 2019-01-30 | 4 | -3/+24 |
| | | |||||
* | | Pass Documentation up to LSP and add "rust" to our codeblocks there | Jeremy Kolb | 2019-01-30 | 4 | -15/+54 |
|/ | |||||
* | align command naming | Aleksey Kladov | 2019-01-28 | 2 | -13/+13 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -1/+0 |
| | |||||
* | update cargo_metadata | Aleksey Kladov | 2019-01-14 | 1 | -2/+5 |
| | |||||
* | switch to lsp-types | Aleksey Kladov | 2019-01-14 | 6 | -21/+21 |
| | |||||
* | 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 |
| | |