aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
Commit message (Collapse)AuthorAgeFilesLines
* Refactor CallInfo function signatures to new FunctionSignature typeVille Penttinen2019-04-091-18/+5
| | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well.
* Add optional range parameter to SyntaxTreeParamsVille Penttinen2019-03-031-1/+3
| | | | | When range is provided, instead of showing the syntax for the whole file, we'll show the syntax tree for the given range.
* 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.
* Assign IDs to assistsAleksey Kladov2019-02-241-9/+39
|
* Update lsp-types and backtracekjeremy2019-02-211-1/+1
|
* Refactor find_all_refs to return ReferenceSearchResultVille Penttinen2019-02-171-10/+28
|
* Add support for container_name in workspace/symbol queryVille Penttinen2019-02-121-1/+1
|
* reformat the worldAleksey Kladov2019-02-082-62/+17
|
* Some clippy cleanupskjeremy2019-02-061-19/+15
|
* Fill deprecation for LSPkjeremy2019-02-051-1/+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-041-2/+83
|
* 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-301-0/+20
|\ | | | | | | | | | | | | | | | | 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 enumsJeremy Kolb2019-01-301-0/+20
| |
* | Pass Documentation up to LSP and add "rust" to our codeblocks thereJeremy Kolb2019-01-301-7/+4
|/
* align command namingAleksey Kladov2019-01-281-2/+2
|
* 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-261-4/+13
|
* Fold blocks of mod items.Andrea Pretto2019-01-251-0/+1
| | | | Fixes #572
* Fill in DocumentSymbol::detailHrvoje Ban2019-01-241-1/+1
|
* ad status commandAleksey Kladov2019-01-221-0/+4
|
* 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
|