aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
Commit message (Collapse)AuthorAgeFilesLines
* Merge #901bors[bot]2019-02-271-1/+1
|\ | | | | | | | | | | | | | | | | | | 901: Add basic support for showing fn signature when hovering r=matklad a=vipentti This adds basic support for displaying function signature when hovering over a usage of a function. Additionally refactored `hover` to return `HoverResult` to ease with testing and in general to be more robust. Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
| * Add new type HoverResult to contain the results of hoveringVille Penttinen2019-02-261-1/+1
| | | | | | | | | | This makes testing hovers easier as well as allows us to do more things with the results if needed.
* | Remove RawResponse::empty()Ville Penttinen2019-02-271-2/+5
| |
* | Work around for issue in vscode reporting a failure in requestVille Penttinen2019-02-271-5/+11
|/ | | | | | vscode would report "A request has failed" when it got "Content modified" message and this would cause a pop-up to appear. This works around the issue by returning an "empty" response that vscode can ignore.
* rename type to type_alias in the AST as wellAleksey Kladov2019-02-251-1/+1
|
* Assign IDs to assistsAleksey Kladov2019-02-242-13/+46
|
* Update lsp-types and backtracekjeremy2019-02-212-2/+2
|
* switch to crates.io vfsAleksey Kladov2019-02-181-1/+1
|
* drop unused depsAleksey Kladov2019-02-181-3/+0
|
* Don't use additional_text_edits API internallyAleksey Kladov2019-02-181-6/+26
|
* Refactor find_all_refs to return ReferenceSearchResultVille Penttinen2019-02-172-11/+29
|
* automatically wait for worker threadsAleksey Kladov2019-02-143-29/+20
| | | | closes #817
* Add support for container_name in workspace/symbol queryVille Penttinen2019-02-121-1/+1
|
* Fix typo in Cargo.toml authorsVille Penttinen2019-02-111-1/+1
| | | | Fixes typo introduced in #782
* Update authors field in Cargo.tomls to "rust-analyzer developers"Ville Penttinen2019-02-111-1/+1
| | | | This closes #777
* Implement BatchDatabase constructionFlorian Diebold2019-02-101-3/+1
|
* Remove Vfs from project modelFlorian Diebold2019-02-091-1/+5
|
* Move crate graph generation to ra_project_modelFlorian Diebold2019-02-091-82/+3
|
* Extract project model to separate crateFlorian Diebold2019-02-094-348/+4
|
* reformat the worldAleksey Kladov2019-02-0812-247/+77
|
* Some clippy cleanupskjeremy2019-02-062-24/+17
|
* Fill deprecation for LSPkjeremy2019-02-051-1/+1
|
* Merge #742bors[bot]2019-02-051-0/+1
|\ | | | | | | | | | | | | | | | | | | 742: Extern crate r=matklad a=flodiebold This implements `extern crate` declarations by lowering them to (absolute) imports, and adds support for absolute paths. It also extracts the extern prelude from the per-module item map, and handles the special case of extern crates in the crate root adding to the extern prelude. This means we finally resolve `Arc`, so it fixes #523 :smile: Co-authored-by: Florian Diebold <flodiebold@gmail.com>
| * Add alloc to std depsFlorian Diebold2019-02-041-0/+1
| |
* | Move commentkjeremy2019-02-041-12/+13
|/
* Future proof by explicitly matching against Nonekjeremy2019-02-041-1/+1
|
* Add commentkjeremy2019-02-041-0/+4
|
* Implement lens for impls and support resolving lenses.Jeremy Kolb2019-02-043-3/+85
|
* Add core to STD_DEPSLaurențiu Nicola2019-02-031-0/+1
| | | See #731.
* Use the new Resolver API in completionFlorian Diebold2019-02-011-0/+1
|
* formatJeremy Kolb2019-01-311-1/+3
|
* Use "▶" for test code lensJeremy Kolb2019-01-311-1/+1
| | | | I find that this makes code lenses stand out more.
* Merge #702bors[bot]2019-01-304-3/+24
|\ | | | | | | | | | | | | | | | | 702: Go to Implementation r=matklad a=kjeremy First half of #620 Co-authored-by: Jeremy Kolb <kjeremy@gmail.com> Co-authored-by: kjeremy <kjeremy@gmail.com>
| * Go to Implementation for structs and enumsJeremy Kolb2019-01-304-3/+24
| |
* | Pass Documentation up to LSP and add "rust" to our codeblocks thereJeremy Kolb2019-01-304-15/+54
|/
* opt-in jemallocAleksey Kladov2019-01-281-0/+3
|
* align command namingAleksey Kladov2019-01-283-14/+14
|
* automatically collect garbageAleksey Kladov2019-01-272-2/+7
|
* Don't use the reserved error codeDJMcNab2019-01-261-1/+1
|
* Return an lsp errorDJMcNab2019-01-261-5/+8
|
* Use the correct working directory for cargo metadata and rustfmtDJMcNab2019-01-262-7/+20
|
* Fold blocks of mod items.Andrea Pretto2019-01-251-0/+1
| | | | Fixes #572
* add gc requestAleksey Kladov2019-01-253-9/+30
|
* Fill in DocumentSymbol::detailHrvoje Ban2019-01-241-1/+1
|
* Fix target_selection_range typeHirokazu Hata2019-01-231-1/+1
|
* Bumpup lsp-types to v0.55.0Hirokazu Hata2019-01-231-1/+1
|
* ad status commandAleksey Kladov2019-01-224-0/+28
|
* Teach CompletionItem about documentationJeremy Kolb2019-01-221-2/+10
|
* Merge #574bors[bot]2019-01-202-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 <gfreezy@gmail.com>
| * use a combination of `source_change` and `text_edit` for `CompleteItem`gfreezy2019-01-201-7/+4
| |