aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
* update cargo_metadataAleksey Kladov2019-01-141-2/+5
|
* switch to lsp-typesAleksey Kladov2019-01-146-21/+21
|
* target_selection_range is not nullable in the implementationAleksey Kladov2019-01-131-5/+10
|
* Merge #517 #518bors[bot]2019-01-131-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 graphAleksey Kladov2019-01-131-4/+21
| | | | | | | | | | rust-lang/rust has absolutely weird setup with rustc-workspace-shim, which leads to real cycles.
* | Add bench runnable and code lensJeremy Kolb2019-01-122-35/+48
|/
* Merge #505bors[bot]2019-01-121-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 methodsFlorian Diebold2019-01-121-0/+1
| |
* | Merge #500bors[bot]2019-01-126-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 moduleJeremy Kolb2019-01-123-90/+102
| |
| * Code lens support for running testsJeremy A. Kolb2019-01-114-85/+128
| |
* | Switch hover to use MarkupContentJeremy Kolb2019-01-121-2/+5
| | | | | | | | MarkedString is deprecated
* | warn louder on mising sysrootAleksey Kladov2019-01-112-1/+9
|/
* actually produce missing def kindsAleksey Kladov2019-01-111-0/+4
|
* Merge #496bors[bot]2019-01-112-9/+35
|\ | | | | | | | | | | | | | | 496: Include two element ranges into the nav. r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fix testsAleksey Kladov2019-01-111-2/+3
| |
| * use location link in goto defAleksey Kladov2019-01-112-12/+25
| |
| * return ref ranges from gotodefAleksey Kladov2019-01-112-4/+16
| |
* | prioritize event handing over indexingAleksey Kladov2019-01-111-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 offsetAleksey Kladov2019-01-111-26/+21
|
* minorAleksey Kladov2019-01-102-6/+2
|
* wire sysroot into crate graphAleksey Kladov2019-01-102-6/+72
|
* special case stdAleksey Kladov2019-01-101-2/+6
|
* use arena for sysrootAleksey Kladov2019-01-101-49/+80
|
* split moduleAleksey Kladov2019-01-103-241/+261
|
* add sysroot boilerplateAleksey Kladov2019-01-105-31/+117
|
* switch CargoWorkspace to arenaAleksey Kladov2019-01-101-30/+26
|
* add completion detailAleksey Kladov2019-01-091-0/+1
|
* Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-091-1/+1
| | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* Fix typo defenition -> definitionMarcus Klaas de Vries2019-01-081-1/+1
|
* fix usages after renameAleksey Kladov2019-01-085-8/+8
|
* upstream text-utils to text_unitAleksey Kladov2019-01-081-4/+3
|
* dont depend on ra_editor directlyAleksey Kladov2019-01-081-1/+1
|
* switch to newer cargo-metadataAleksey Kladov2019-01-081-12/+9
|
* introduce CallInfoAleksey Kladov2019-01-081-17/+11
|
* migrate ra_lsp_server to new rowanAleksey Kladov2019-01-081-1/+1
|
* add "." as a trigger char on type formattingSimon Vandel Sillesen2019-01-061-1/+1
|
* refactorSimon Vandel Sillesen2019-01-062-35/+26
|
* indent on typing dot. fixes #439Simon Vandel Sillesen2019-01-051-22/+34
|
* introduce separate goto_defenitionAleksey Kladov2019-01-051-3/+2
|
* move hover implementation to ra_analysisAleksey Kladov2019-01-051-41/+9
|
* Merge #414bors[bot]2019-01-051-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_forHirokazu Hata2019-01-051-14/+25
| |
| * Return type name when doc_text_for returns nothingHirokazu Hata2019-01-031-0/+12
| |
* | Rename ImplItem to ImplBlockFlorian Diebold2019-01-041-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 crateAleksey Kladov2019-01-043-14/+27
| |
* | use lsp WorkspaceEdit instead of custom source_file_edits and file_system_editsBernardo2019-01-032-36/+37
|/
* use LocalPtr in navigation targetAleksey Kladov2019-01-031-1/+1
|
* use navigation target in APIAleksey Kladov2019-01-022-19/+25
|
* introduce navigation targetAleksey Kladov2019-01-021-5/+5
|