aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2297 from kiljacken/masterAleksey Kladov2019-11-204-1/+6
|\ | | | | Add fancy truncation of type hints.
| * Move type inlay hint truncation to language serverEmil Lauridsen2019-11-194-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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-192-3/+13
| |
* | Add recursive expand in vscodeEdwin Cheng2019-11-193-0/+31
|/
* Use `bool` instead of `Option<bool>` and print it's value only when `true`Martin Asquino2019-11-021-1/+1
|
* Set `deprecated` field on `CompletionItem`sMartin Asquino2019-11-021-0/+1
|
* Some clippy fixeskjeremy2019-10-301-1/+1
|
* 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-252-1/+2
|
* make typing infra slightly more extensibleAleksey Kladov2019-10-251-6/+2
|
* document feature flagsAleksey Kladov2019-10-251-5/+9
|
* for highlighting, search only the current fileAleksey Kladov2019-10-241-3/+8
|
* don't die if a sync task panicsAleksey Kladov2019-10-241-6/+10
|
* 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
|
* add test #2033Alex Zatelepin2019-10-211-0/+43
|
* fixup folding ranges for "lineFoldingOnly" clients #2033Alex Zatelepin2019-10-214-24/+74
|
* No need to make config pubkjeremy2019-10-111-1/+1
|
* use slightly more idiomatic api for cfgAleksey Kladov2019-10-081-2/+6
|
* Read default cfgs from rustcuHOOCCOOHu2019-10-021-2/+6
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-3013-0/+26
| | | | #1856
* Start simplifying editing APIAleksey Kladov2019-09-261-1/+0
|
* move fold conversino to conv.rsAleksey Kladov2019-09-192-34/+28
|
* fix typoAleksey Kladov2019-09-191-1/+1
|
* introduce hir debugging infraAleksey Kladov2019-09-091-1/+6
| | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph
* don't deadlock on shutdownAleksey Kladov2019-09-062-3/+3
| | | | | | | Specifically, when we tear down IO threads, we should take care to dispose connection. closes #1775
* add option to disable notifyAleksey Kladov2019-09-064-62/+129
|
* fix renaming of modulesAleksey Kladov2019-09-051-8/+6
|
* lsp-types 0.61.0kjeremy2019-09-031-0/+1
|
* cleanup main loopAleksey Kladov2019-08-318-221/+172
|
* inline thread-workerAleksey Kladov2019-08-303-3/+51
|
* :arrow_up: lsp-serverAleksey Kladov2019-08-302-53/+50
|
* move lsp-server to a separate repositoryAleksey Kladov2019-08-305-80/+98
|
* :arrow_up: vfsAleksey Kladov2019-08-252-4/+8
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-1/+1
|
* implement feature flagsAleksey Kladov2019-08-223-22/+48
|
* show error to the user when deserializing configAleksey Kladov2019-08-223-8/+22
|
* fix default for the exlude keyAleksey Kladov2019-08-212-2/+6
|
* remove debug-printAleksey Kladov2019-08-201-1/+0
|
* Drop unnecessary `&'_` from implsAleksey Kladov2019-08-201-20/+20
|
* refactor TryConvWith similar to ConvWithAleksey Kladov2019-08-201-42/+26
|
* translate \n -> \r\n on the way outAleksey Kladov2019-08-203-14/+28
|
* make CTX type param instead of assoc typeAleksey Kladov2019-08-201-34/+25
| | | | that way, we can implement ConvWith<&'_ CTX> for different lifetimes
* minorAleksey Kladov2019-08-201-1/+1
|
* don't load sysroot in most heavy testsAleksey Kladov2019-08-193-4/+9
|
* update lspAleksey Kladov2019-08-172-4/+1
|
* implement durabilityAleksey Kladov2019-08-151-0/+1
|