aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
Commit message (Collapse)AuthorAgeFilesLines
* Implement proposed CallHierarchy featureJeremy Kolb2020-01-081-2/+96
| | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts
* Adds a way to limits reference search by StructLiteralMikhail Modin2020-01-081-6/+9
|
* Initial implementation of cargo check watchingEmil Lauridsen2019-12-251-1/+27
|
* Add some module docsJeremy Kolb2019-12-213-3/+4
|
* Clippy lintskjeremy2019-12-201-1/+1
|
* Revert "Revert "Support LSP 3.15""Aleksey Kladov2019-12-111-1/+4
| | | | This reverts commit 1e0bf205eff81f04c0e1e6c208c3489327520c3f.
* Revert "Support LSP 3.15"Aleksey Kladov2019-12-111-4/+1
| | | | This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1.
* Support LSP 3.15Jeremy Kolb2019-12-111-1/+4
| | | | This merely upgrades our protocol support. It does not add any of the new features.
* 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-272-4/+4
|
* 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-303-0/+6
| | | | #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
|
* cleanup main loopAleksey Kladov2019-08-311-1/+1
|
* move lsp-server to a separate repositoryAleksey Kladov2019-08-302-10/+11
|
* 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
|