aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
Commit message (Collapse)AuthorAgeFilesLines
* Merge #574bors[bot]2019-01-201-1/+5
|\ | | | | | | | | | | | | | | | | 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]>
| * refactor completions to use TextEdit instead of InsertTextgfreezy2019-01-191-1/+5
| |
* | extend selection expands macros and can totally panicAleksey Kladov2019-01-201-4/+8
| |
* | somewhat better nameAleksey Kladov2019-01-201-1/+1
| |
* | make matching brace consistentAleksey Kladov2019-01-201-2/+1
|/
* more idiomatic codegfreezy2019-01-191-5/+6
|
* fix commentsgfreezy2019-01-191-31/+3
|
* rename modgfreezy2019-01-191-16/+31
|
* 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
|