aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop.rs
Commit message (Collapse)AuthorAgeFilesLines
* show message in client's UI if workspace fails to loadAleksey Kladov2019-03-051-7/+12
|
* 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.
* automatically wait for worker threadsAleksey Kladov2019-02-141-14/+12
| | | | closes #817
* reformat the worldAleksey Kladov2019-02-081-42/+13
|
* Implement lens for impls and support resolving lenses.Jeremy Kolb2019-02-041-0/+1
|
* Go to Implementation for structs and enumsJeremy Kolb2019-01-301-0/+1
|
* automatically collect garbageAleksey Kladov2019-01-271-1/+2
|
* add gc requestAleksey Kladov2019-01-251-9/+18
|
* ad status commandAleksey Kladov2019-01-221-0/+1
|
* rename modgfreezy2019-01-191-4/+1
|
* :arrow_up: update rustAleksey Kladov2019-01-191-1/+0
|
* switch to lsp-typesAleksey Kladov2019-01-141-1/+1
|
* Merge #500bors[bot]2019-01-121-0/+1
|\ | | | | | | | | | | | | | | | | | | | | 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]>
| * Code lens support for running testsJeremy A. Kolb2019-01-111-0/+1
| |
* | warn louder on mising sysrootAleksey Kladov2019-01-111-1/+1
|/
* 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 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 usages after renameAleksey Kladov2019-01-081-1/+1
|
* refactorSimon Vandel Sillesen2019-01-061-9/+5
|
* extract area to a crateAleksey Kladov2019-01-041-2/+2
|
* Merge #385bors[bot]2018-12-311-0/+1
|\ | | | | | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]>
| * Implement DocumentHighlightDJMcNab2018-12-311-0/+1
| |
* | remove backtraces from CancelledAleksey Kladov2018-12-301-1/+1
|/ | | | | Hopefully we won't need them for debugging. If we do need them, it should be easy to add back.
* :arrow_up: crossbeamAleksey Kladov2018-12-301-22/+26
| | | | closes #189
* Add support for formatting entire document with rustfmtAleksander Vognild Burkow2018-12-291-0/+1
| | | | | | 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.
* add cancelation module & cancelation backtracesAleksey Kladov2018-12-271-1/+1
|
* Merge #326bors[bot]2018-12-241-2/+2
|\ | | | | | | | | | | | | | | 326: resolved #324: remove unnecessary braces in use statement. r=matklad a=gfreezy Add inspection for unnecessary braces in use statement Co-authored-by: gfreezy <[email protected]>
| * remove option from Diagnosticgfreezy2018-12-241-2/+2
| |
* | Merge #302bors[bot]2018-12-241-4/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | 302: WIP: Support tracing lsp requests. r=DJMcNab a=DJMcNab EDIT: We need to work out a better way to handle settings before this can be merged. Help wanted TODO: Debug why decorations are sent even when highlightingOn is disabled This makes the log volume so high its impossible to work with anyway. (Continuation of #84 [#99 only disabled using it, not making sure we don't send it]). These logs can be used in https://microsoft.github.io/language-server-protocol/inspector/ Co-authored-by: DJMcNab <[email protected]>
| * Undo the previous mistaken change and make publish_decorations optionalDJMcNab2018-12-211-4/+4
| | | | | | | | | | | | | | | | See https://github.com/Microsoft/language-server-protocol/issues/567 for motivations to not require `InitializationOptions` TODO: Check if there are any other protocol extensions which should be disabled if not implemented on the client
* | less chatty loggingAleksey Kladov2018-12-221-0/+7
| |
* | less verbose debugAleksey Kladov2018-12-221-7/+38
| |
* | log timesAleksey Kladov2018-12-221-1/+3
| |
* | tweak canceled messageAleksey Kladov2018-12-211-1/+1
|/
* Merge #297bors[bot]2018-12-201-1/+1
|\ | | | | | | | | | | | | | | 297: Use ContentModified error code r=matklad a=matklad https://github.com/Microsoft/language-server-protocol/commit/25679c2e4b26cb18af8c943319d40d4f3561a340 Co-authored-by: Aleksey Kladov <[email protected]>
| * Use ContentModified error codeAleksey Kladov2018-12-201-1/+1
| | | | | | | | https://github.com/Microsoft/language-server-protocol/commit/25679c2e4b26cb18af8c943319d40d4f3561a340
* | fix sycAleksey Kladov2018-12-201-0/+4
| |
* | swtich lsp server to vfsAleksey Kladov2018-12-201-89/+54
| |
* | vfs crate scaffoldAleksey Kladov2018-12-201-2/+2
|/
* move thread worker to a separate crateAleksey Kladov2018-12-181-3/+3
|
* Answer canceled requestsAleksey Kladov2018-12-091-1/+8
|
* switch threadpool back from rayon to threadpoolAleksey Kladov2018-12-091-9/+6
| | | | | rayon does not replenish the pool when the thread panics, but we must be reselient to bugs.
* grand module renameAleksey Kladov2018-12-081-0/+495