aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop/handlers.rs
Commit message (Collapse)AuthorAgeFilesLines
* Run rustfmt with respect to Cargo.toml editionVincent Rouillé2019-12-041-0/+6
|
* Move identifier check to analysisWilco Kusee2019-11-291-11/+1
|
* Also allow renaming to underscoreWilco Kusee2019-11-291-1/+3
|
* Only allow renames to valid identifiersWilco Kusee2019-11-291-1/+7
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-3/+3
|
* Merge pull request #2297 from kiljacken/masterAleksey Kladov2019-11-201-1/+1
|\ | | | | Add fancy truncation of type hints.
| * Move type inlay hint truncation to language serverEmil Lauridsen2019-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints.
* | Change return type of expand_macroEdwin Cheng2019-11-191-2/+5
| |
* | Add recursive expand in vscodeEdwin Cheng2019-11-191-0/+15
|/
* Profile all request handlerskjeremy2019-10-291-0/+19
|
* disable the new typing handler for `->`Aleksey Kladov2019-10-251-0/+9
| | | | It doesn't actually work with LSP
* insert space after `->`Aleksey Kladov2019-10-251-0/+1
|
* make typing infra slightly more extensibleAleksey Kladov2019-10-251-6/+2
|
* for highlighting, search only the current fileAleksey Kladov2019-10-241-3/+8
|
* add couple of profiling callsAleksey Kladov2019-10-231-0/+4
|
* fix highlightingEkaterina Babshukova2019-10-221-0/+1
|
* restructure a bitEkaterina Babshukova2019-10-221-1/+1
|
* make `handle_references` accept refs from other filesEkaterina Babshukova2019-10-221-4/+9
|
* fixup folding ranges for "lineFoldingOnly" clients #2033Alex Zatelepin2019-10-211-2/+8
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* move fold conversino to conv.rsAleksey Kladov2019-09-191-32/+6
|
* fix typoAleksey Kladov2019-09-191-1/+1
|
* fix renaming of modulesAleksey Kladov2019-09-051-8/+6
|
* move lsp-server to a separate repositoryAleksey Kladov2019-08-301-1/+1
|
* translate \n -> \r\n on the way outAleksey Kladov2019-08-201-2/+4
|
* update lspAleksey Kladov2019-08-171-2/+1
|
* Drop support for old extendSelection APIAleksey Kladov2019-08-121-22/+1
| | | | | | Emacs now handles this via native LSP request https://github.com/emacs-lsp/lsp-mode/commit/dc86bbb227147aa8141e690ad5648fdbd2ebdb9f
* Always set the runnable nameKirill Bulatov2019-08-091-11/+11
|
* Extract common logicKirill Bulatov2019-08-091-55/+42
|
* Show backtraces in lens runnablesKirill Bulatov2019-08-091-1/+5
|
* Merge #1652bors[bot]2019-08-061-8/+1
|\ | | | | | | | | | | | | | | | | | | | | | | 1652: Improve type hints behavior r=matklad a=SomeoneToIgnore This PR fixed the following type hints issues: * Restructures the `InlayKind` enum contents based on the discussion here: https://github.com/rust-analyzer/rust-analyzer/pull/1606#issuecomment-515968055 * Races described in #1639 * Caches the latest decorations received for each file to show them the next time the file is opened (instead of a new server request) Co-authored-by: Kirill Bulatov <[email protected]>
| * Use proper inlay kindsKirill Bulatov2019-08-041-8/+1
| |
* | use Conv for severityAleksey Kladov2019-08-061-15/+6
|/
* remove-commentkjeremy2019-07-311-1/+0
|
* Hide comments in rust section of doc commentsRoman Stoliar2019-07-301-1/+1
|
* Support destructuring patternsKirill Bulatov2019-07-281-0/+3
|
* Improve inlay hinting for typesKirill Bulatov2019-07-261-0/+3
| | | | | | Add hints for types in for loop expressions. Resolve types for every tuple parameter. Refactor the code.
* Make Analysis api cancellableKirill Bulatov2019-07-251-29/+35
|
* Code review fixesKirill Bulatov2019-07-221-1/+22
|
* Do not show the lens with type hintsKirill Bulatov2019-07-211-13/+4
|
* Resolve types on the serverKirill Bulatov2019-07-211-25/+10
|
* Refactor server apiKirill Bulatov2019-07-201-28/+42
|
* If possible, show type lenses for the let bindingsKirill Bulatov2019-07-201-16/+26
|
* Add "Run" lens for binary runnablesKirill Bulatov2019-07-161-1/+1
|
* simplifyAleksey Kladov2019-07-081-23/+7
|
* add try_conv_with_to_vecAleksey Kladov2019-07-081-19/+8
|
* Simplify responses by using into()Jeremy Kolb2019-07-071-11/+12
|
* use flatten branch of lsp-typesJeremy Kolb2019-07-071-23/+12
|
* Formatting againJeremy Kolb2019-07-051-5/+5
|
* Symplify by using into()Jeremy Kolb2019-07-051-3/+3
|