aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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