aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop/handlers.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|
* 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
|
* 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 `:`.
* 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-071-2/+27
|
* Use FilePosition everywhereAleksey Kladov2018-11-051-40/+36
|
* Fully add inline modules to module treeAleksey Kladov2018-11-051-3/+5
|
* Reformat allAleksey Kladov2018-10-311-46/+41
|
* Useful comments from function signaturesJeremy A. Kolb2018-10-311-2/+11
|
* 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-231-2/+3
|\ | | | | | | | | | | | | | | 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-221-2/+3
| | | | | | | | Fixes #145
* | 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]>
| * Fix function callsAlan Du2018-10-181-2/+2
| |
| * Clippy lint: single-character string constantAlan Du2018-10-181-2/+2
| |
* | Remove job handleAleksey Kladov2018-10-201-20/+1
| |
* | 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
| |
* | LSP: Add support for prepareRenameJeremy A. Kolb2018-10-191-1/+23
| |
* | Handle renaming of local variablesJeremy A. Kolb2018-10-181-0/+40
| |
* | Implement Find All References for local variablesJeremy A. Kolb2018-10-181-0/+16
|/
* Cargo FormatJeremy A. Kolb2018-10-161-92/+114
| | | | Run `cargo fmt` and ignore generated files
* remove clonesAleksey Kladov2018-10-151-2/+2
|
* migrate analysis and server to 2018Aleksey Kladov2018-10-151-1/+1
|
* Language Server: textDocument/signatureHelpJeremy A. Kolb2018-10-111-0/+36
| | | | | | | | | | Implements a pretty barebones function signature help mechanism in the language server. Users can use `Analysis::resolve_callback()` to get basic information about a call site. Fixes #102
* Replace HashMap, HashSet with FxHashMap and FxHashSetMuhammad Mominul Huque2018-10-111-2/+2
|
* Add on-enter handlerAleksey Kladov2018-10-091-0/+14
| | | | Now, typing doc comments is much more pleasant
* fix code actionsAleksey Kladov2018-09-291-1/+1
|
* Split folding ranges into editor and lsp partsJeremy A. Kolb2018-09-241-77/+21
|
* Implement folding rangesJeremy A. Kolb2018-09-231-1/+89
|