aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | LSP: Add support for prepareRenameJeremy A. Kolb2018-10-192-1/+24
| |
* | Handle renaming of local variablesJeremy A. Kolb2018-10-182-0/+41
| |
* | Implement Find All References for local variablesJeremy A. Kolb2018-10-182-0/+17
|/
* Cargo FormatJeremy A. Kolb2018-10-163-176/+197
| | | | Run `cargo fmt` and ignore generated files
* remove clonesAleksey Kladov2018-10-152-4/+4
|
* migrate analysis and server to 2018Aleksey Kladov2018-10-152-2/+2
|
* Language Server: textDocument/signatureHelpJeremy A. Kolb2018-10-112-0/+37
| | | | | | | | | | 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-113-11/+11
|
* Add on-enter handlerAleksey Kladov2018-10-092-0/+15
| | | | Now, typing doc comments is much more pleasant
* Prepare gen_lsp_server for publishingAleksey Kladov2018-10-091-6/+6
|