aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* don't die if a sync task panicsAleksey Kladov2019-10-241-6/+10
|
* Merge #2053bors[bot]2019-10-241-3/+20
|\ | | | | | | | | | | | | | | 2053: show unaccounted for time in profiling r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * show unaccounted for time in profilingAleksey Kladov2019-10-241-3/+20
|/
* Merge #2050bors[bot]2019-10-2313-544/+576
|\ | | | | | | | | | | | | | | 2050: xtask: don't depend on itertools r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * xtask: don't depend on itertoolsAleksey Kladov2019-10-233-19/+22
| | | | | | | | xtask should be fast to compiler, as it's a gateway to rust-analyzer
| * xtask: fold gen-tests and gen-ast into codegenAleksey Kladov2019-10-234-11/+4
| |
| * xtask: move codegen to a moduleAleksey Kladov2019-10-239-533/+569
|/
* Merge #2049bors[bot]2019-10-231-0/+4
|\ | | | | | | | | | | | | | | 2049: add couple of profiling calls r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * add couple of profiling callsAleksey Kladov2019-10-231-0/+4
| |
* | Merge #2048bors[bot]2019-10-231-18/+36
|\ \ | |/ |/| | | | | | | | | | | 2048: minor cleanup r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * minor cleanupAleksey Kladov2019-10-231-18/+36
|/
* Merge #1980bors[bot]2019-10-233-1/+28
|\ | | | | | | | | | | | | | | 1980: Shorten inline type hints r=matklad a=detrumi Implements #1946 Co-authored-by: Wilco Kusee <[email protected]>
| * Do not truncate the rangeWilco Kusee2019-10-231-30/+10
| |
| * Make inlay hint length configurableWilco Kusee2019-10-183-14/+37
| |
| * Truncate hints longer than 20 charactersWilco Kusee2019-10-101-4/+28
| |
* | Merge #2047bors[bot]2019-10-231-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 2047: restore assert r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | restore assertAleksey Kladov2019-10-231-0/+1
|/ /
* | Merge #1892bors[bot]2019-10-2314-449/+1075
|\ \ | | | | | | | | | | | | | | | | | | | | | 1892: Find usages r=matklad a=viorina Fixes #1622. Co-authored-by: Ekaterina Babshukova <[email protected]>
| * | some fixes, add docsEkaterina Babshukova2019-10-225-72/+73
| | |
| * | support items that visible to the parent moduleEkaterina Babshukova2019-10-223-5/+68
| | |
| * | classify module from declarationEkaterina Babshukova2019-10-224-9/+44
| | |
| * | fix highlightingEkaterina Babshukova2019-10-223-2/+3
| | |
| * | remove SearchScopeEkaterina Babshukova2019-10-222-10/+6
| | |
| * | use Lazy, some fixesEkaterina Babshukova2019-10-2210-43/+51
| | |
| * | remove `unreachable!()`Ekaterina Babshukova2019-10-224-15/+18
| | |
| * | replace trait by a bunch of functionsEkaterina Babshukova2019-10-229-330/+227
| | |
| * | restructure a bitEkaterina Babshukova2019-10-2211-700/+870
| | |
| * | classify definition of a function rightEkaterina Babshukova2019-10-221-0/+3
| | |
| * | make `handle_references` accept refs from other filesEkaterina Babshukova2019-10-221-4/+9
| | |
| * | some fixes, add testsEkaterina Babshukova2019-10-223-39/+52
| | |
| * | implement search of referencesEkaterina Babshukova2019-10-223-76/+134
| | |
| * | find scope for `Declaration` itemEkaterina Babshukova2019-10-224-46/+86
| | |
| * | return Declaration from classify_name_refEkaterina Babshukova2019-10-226-182/+323
| | |
| * | return Declaration from classify_nameEkaterina Babshukova2019-10-222-36/+59
| | |
| * | replace a chain of `if let` by macroEkaterina Babshukova2019-10-223-255/+87
| | |
| * | refactor name_ref_kind.rsEkaterina Babshukova2019-10-226-64/+61
| | |
| * | initial classify_nameEkaterina Babshukova2019-10-227-36/+376
|/ /
* | Merge #2046bors[bot]2019-10-222-67/+69
|\ \ | | | | | | | | | | | | | | | | | | | | | 2046: Bump crates r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | Bump crateskjeremy2019-10-222-67/+69
| | |
* | | Merge #1933bors[bot]2019-10-224-0/+314
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 1933: Adds "replace with guarded return" assist r=matklad a=mikhail-m1 first draft for #1782. I'm pretty sure I missed something. Co-authored-by: Mikhail Modin <[email protected]>
| * | Adds "replace with guarded return" assistMikhail Modin2019-10-204-0/+314
| | |
* | | Merge #2043bors[bot]2019-10-221-0/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2043: Instructions for VS Code Remote Development r=matklad a=marcogroppo `rust-analyzer` can be used with the Visual Studio Code Remote Development extension pack, but `cargo xtask install` is not enough, you have to install the `VSIX` package from VS Code. These instructions have been added to the `README`. Co-authored-by: Marco Groppo <[email protected]>
| * | | Instructions for VSCode RemoteMarco Groppo2019-10-211-0/+19
| | | |
* | | | Merge #2044bors[bot]2019-10-224-24/+117
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 2044: Fixup folding ranges for clients with lineFoldingOnly=true r=matklad a=ztlpn Fixes #2033 Co-authored-by: Alex Zatelepin <[email protected]>
| * | | add test #2033Alex Zatelepin2019-10-211-0/+43
| | | |
| * | | fixup folding ranges for "lineFoldingOnly" clients #2033Alex Zatelepin2019-10-214-24/+74
| |/ /
* | | Merge #2039bors[bot]2019-10-212-7/+91
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2039: Guess macro braces from docs r=matklad a=oxalica Instead of hard-code `vec` to have snippet with bracket `vec![]`, we try to find the "most common used brace kind" from documentation of the macro, which usually contains some example code. It also works better with extern macros. We can suggest braces for `thread_local! {}` now. Co-authored-by: oxalica <[email protected]>
| * | | Guess macro braces from docsoxalica2019-10-202-7/+91
| |/ /
* | | Merge #2041bors[bot]2019-10-211-2/+40
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2041: try to warn about old rust r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | try to warn about old rustAleksey Kladov2019-10-211-2/+40
|/ /