aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
Commit message (Collapse)AuthorAgeFilesLines
* switch to lsp-typesAleksey Kladov2019-01-141-1/+1
|
* Add bench runnable and code lensJeremy Kolb2019-01-121-35/+39
|
* Merge #500bors[bot]2019-01-121-95/+46
|\ | | | | | | | | | | | | | | | | | | | | 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-121-90/+1
| |
| * Code lens support for running testsJeremy A. Kolb2019-01-111-81/+121
| |
* | Switch hover to use MarkupContentJeremy Kolb2019-01-121-2/+5
|/ | | | MarkedString is deprecated
* use location link in goto defAleksey Kladov2019-01-111-4/+5
|
* return ref ranges from gotodefAleksey Kladov2019-01-111-3/+6
|
* fix on-type offsetAleksey Kladov2019-01-111-26/+21
|
* add sysroot boilerplateAleksey Kladov2019-01-101-4/+4
|
* Fix typo defenition -> definitionMarcus Klaas de Vries2019-01-081-1/+1
|
* fix usages after renameAleksey Kladov2019-01-082-3/+3
|
* upstream text-utils to text_unitAleksey Kladov2019-01-081-4/+3
|
* introduce CallInfoAleksey Kladov2019-01-081-17/+11
|
* migrate ra_lsp_server to new rowanAleksey Kladov2019-01-081-1/+1
|
* refactorSimon Vandel Sillesen2019-01-061-26/+21
|
* 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
| |
* | extract area to a crateAleksey Kladov2019-01-041-1/+4
|/
* use LocalPtr in navigation targetAleksey Kladov2019-01-031-1/+1
|
* use navigation target in APIAleksey Kladov2019-01-021-18/+15
|
* introduce navigation targetAleksey Kladov2019-01-021-5/+5
|
* Merge #165bors[bot]2018-12-311-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | 165: Make modules with tests runnable r=farodin91 a=farodin91 Fixes #154 I having problems to traverse the path to module. The main problem is that module_tree only supports `FileId` and not `Module` in files. Any idea? I need to clean up the code a bit later. Co-authored-by: Jan Jansen <[email protected]>
| * Make modules with tests runnableJan Jansen2018-12-311-0/+10
| | | | | | | | Fixes #154
* | Merge #385bors[bot]2018-12-311-3/+23
|\ \ | |/ |/| | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]>
| * Use TryConv for conversionDJMcNab2018-12-311-2/+1
| |
| * Implement DocumentHighlightDJMcNab2018-12-311-3/+24
| |
* | Move renames into ra_analysisDJMcNab2018-12-301-13/+8
|/
* Simplify failure bail codeAleksander Vognild Burkow2018-12-291-3/+4
|
* Add better error message for Command failureAleksander Vognild Burkow2018-12-291-1/+4
|
* Add support for formatting entire document with rustfmtAleksander Vognild Burkow2018-12-291-0/+33
| | | | | | Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements.
* switch to FileRangeAleksey Kladov2018-12-281-11/+9
|
* fix warning conversionAleksey Kladov2018-12-241-3/+1
|
* remove option from Diagnosticgfreezy2018-12-241-1/+1
|
* add serverity to vscode diagnosticsgfreezy2018-12-231-2/+13
|
* move completion items to convAleksey Kladov2018-12-211-25/+4
|
* make compleion item details privateAleksey Kladov2018-12-211-8/+14
|
* hide atom edits a bitAleksey Kladov2018-12-211-2/+9
|
* fold curly blocksAleksey Kladov2018-12-201-3/+4
|
* swtich lsp server to vfsAleksey Kladov2018-12-201-2/+2
|
* Bump languageserver-types to 0.53.0 to support LSP 3.14.0Jeremy A. Kolb2018-12-191-2/+2
| | | | See: https://microsoft.github.io/language-server-protocol/specification#version_3_14_0
* extract AtomEdit and Edit into new ra_text_edit crateBernardo2018-12-101-1/+2
|
* Refactor symbol resolve APIAleksey Kladov2018-12-081-7/+8
| | | | | Introduce ReferenceResolution to avoid nesting to many non-nominal types.
* grand module renameAleksey Kladov2018-12-081-495/+0
|
* reformatAleksey Kladov2018-12-081-1/+0
|
* Add a better text for hover and stop duplicating work done in ↵DJMcNab2018-12-081-21/+22
| | | | approximatelly_resolve_symbol