aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
Commit message (Collapse)AuthorAgeFilesLines
* Merge #165bors[bot]2018-12-311-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | 165: Make modules with tests runnable r=farodin91 a=farodin91 Fixes #154 I having problems to traverse the path to module. The main problem is that module_tree only supports `FileId` and not `Module` in files. Any idea? I need to clean up the code a bit later. Co-authored-by: Jan Jansen <[email protected]>
| * Make modules with tests runnableJan Jansen2018-12-311-0/+10
| | | | | | | | Fixes #154
* | Merge #385bors[bot]2018-12-311-3/+23
|\ \ | |/ |/| | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]>
| * Use TryConv for conversionDJMcNab2018-12-311-2/+1
| |
| * Implement DocumentHighlightDJMcNab2018-12-311-3/+24
| |
* | Move renames into ra_analysisDJMcNab2018-12-301-13/+8
|/
* Simplify failure bail codeAleksander Vognild Burkow2018-12-291-3/+4
|
* Add better error message for Command failureAleksander Vognild Burkow2018-12-291-1/+4
|
* 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.