aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix the range of a hover request to be more in line with prior artDJMcNab2018-12-081-1/+8
|
* modernize moreAleksey Kladov2018-12-061-18/+20
|
* Fix diagnostic fixes showing up everywhereFlorian Diebold2018-12-021-2/+2
| | | | | The LSP code action request always returned the fixes for all diagnostics anywhere in the file, because of a shadowed variable.
* Clippy lintsJeremy A. Kolb2018-11-291-5/+8
|
* hack around nested librariesAleksey Kladov2018-11-261-3/+29
|
* Use `:` as a trigger character for completionAleksey Kladov2018-11-211-1/+23
| | | | | | | | | Note that VSCode asks for completion after *first* `:` as well: use crate: we use hacks to protect against that, and to give completions only after the second `:`.
* workspace-symbols function for EmacsAleksey Kladov2018-11-081-8/+15
|
* Rustfmt to pass CIJeremy A. Kolb2018-11-071-2/+2
|
* Remove unused variableJeremy A. Kolb2018-11-071-1/+0
|
* Show documentation for hover requestsJeremy A. Kolb2018-11-072-2/+28
|
* Use FilePosition everywhereAleksey Kladov2018-11-051-40/+36
|
* don't send backtraces for canceled requestsAleksey Kladov2018-11-051-5/+15
|
* Fully add inline modules to module treeAleksey Kladov2018-11-051-3/+5
|
* Use Default everywhereAleksey Kladov2018-11-041-1/+1
|
* Reformat allAleksey Kladov2018-10-312-60/+58
|
* Useful comments from function signaturesJeremy A. Kolb2018-10-311-2/+11
|
* Improve loggingAleksey Kladov2018-10-251-4/+16
|
* More informative lable for check runnableAleksey Kladov2018-10-251-3/+10
|
* specify package when running cargo checkAleksey Kladov2018-10-251-46/+65
|
* Always add cargo check as a runnableAleksey Kladov2018-10-251-0/+8
|
* Merge #151bors[bot]2018-10-232-3/+20
|\ | | | | | | | | | | | | | | 151: Add LspError to explicity return errors from LSP handlers r=matklad a=kjeremy Fixes #145 Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Add LspError to explicity return errors from LSP handlersJeremy A. Kolb2018-10-222-3/+20
| | | | | | | | Fixes #145
* | Merge #152bors[bot]2018-10-221-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 152: Fix typo r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * | Fix typoJeremy A. Kolb2018-10-221-2/+2
| |/
* | Merge #138bors[bot]2018-10-221-4/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 138: Fix some clippy lints r=matklad a=alanhdu I went ahead and fixed all the clippy lints (there were a couple I thought would be better unfixed and added `cfg` statements to allow them) and also re-enabled clippy and rustfmt in CI. They were disabled with `no time to explain, disable clippy checks`, so hopefully this won't go against whatever the reason at the time was :laughing:. One question about the CI though: right now, it's an allowed failure that runs against the latest nightly each time. Would it be better to pin it to a specific nightly (or use the `beta` versions) to lower the churn? Co-authored-by: Alan Du <[email protected]>
| * Revert "clippy: Fix new_ret_no_self"Alan Du2018-10-201-1/+1
| | | | | | | | This reverts commit 2ae9dfa812ccf18867373f77a106161378a6d91d.
| * Fix function callsAlan Du2018-10-181-2/+2
| |
| * clippy: Fix new_ret_no_selfAlan Du2018-10-181-1/+1
| |
| * Clippy lint: single-character string constantAlan Du2018-10-181-2/+2
| |
* | Remove job handleAleksey Kladov2018-10-202-41/+18
| |
* | use pythonic import orderAleksey Kladov2018-10-201-3/+2
| | | | | | | | | | | | | | | | use std // blank line use extern crates // blank line use crate::{}
* | make more things cancelableAleksey Kladov2018-10-201-6/+6
| |
* | remove job tokensAleksey Kladov2018-10-201-31/+31
| |
* | make parent module cancelableAleksey Kladov2018-10-201-1/+1
| |