aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Merge #1560bors[bot]2019-07-2057-241/+260
|\ | | | | | | | | | | | | | | 1560: move debug_dump to fmt::Debug r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * rename range -> text_rangeAleksey Kladov2019-07-2054-192/+219
| |
| * move debug_dump to fmt::DebugAleksey Kladov2019-07-2010-50/+42
| |
* | add await to syntax, parser for await_exprUnreal Hoang2019-07-205-0/+93
|/
* remove lifetime from syntax node textAleksey Kladov2019-07-193-14/+15
|
* sane indexing in textAleksey Kladov2019-07-192-11/+13
|
* flip syntax text to use internal iterationAleksey Kladov2019-07-194-38/+78
|
* drop memory size of subtreeAleksey Kladov2019-07-192-15/+4
| | | | | it wasn't too accurate and the new measurement method of dropping the database completely is better anyway
* convenience apiAleksey Kladov2019-07-198-50/+63
|
* minorAleksey Kladov2019-07-191-5/+1
|
* cleanup castsAleksey Kladov2019-07-196-850/+975
|
* several highlighting cleanupsAleksey Kladov2019-07-196-68/+92
| | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function
* switch to the upstream rowanAleksey Kladov2019-07-191-1/+1
|
* migrate ra_cli to the new rowanAleksey Kladov2019-07-191-3/+3
|
* migrate ra_ide_api to the new rowanAleksey Kladov2019-07-1929-290/+342
|
* migrate ra_assists to the new ASTAleksey Kladov2019-07-1917-204/+213
|
* migrate ra_hir to the new rowanAleksey Kladov2019-07-1922-210/+206
|
* migrate ra_fmt to new rowanAleksey Kladov2019-07-191-7/+7
|
* migrate mbe to the new rowanAleksey Kladov2019-07-194-36/+27
|
* migrate ra_syntax to the new rowan APIAleksey Kladov2019-07-1918-2347/+1183
|
* use Parse in mbeAleksey Kladov2019-07-187-63/+64
|
* make Parse genericAleksey Kladov2019-07-185-23/+44
|
* Merge #1547bors[bot]2019-07-182-6/+5
|\ | | | | | | | | | | | | | | 1547: cleanup imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * cleanup importsAleksey Kladov2019-07-182-6/+5
| |
* | prettier colorsAleksey Kladov2019-07-183-18/+21
|/
* Merge #1537bors[bot]2019-07-181-26/+103
|\ | | | | | | | | | | | | | | | | | | | | | | 1537: Less magic completions r=matklad a=marcogroppo Restrict `if`, `not` and `while` postfix magic completions to boolean expressions and expressions of an unknown type. (this may be controversial, marking as draft for this reason) See the discussion in #1526. Co-authored-by: Marco Groppo <[email protected]>
| * Restrict some postfix completions to bool and unknown expr.Marco Groppo2019-07-171-26/+103
| | | | | | | | | | Restrict `if` and `while` postfix completions to boolean expressions and expressions of an unknown type.
* | highlight mutable variables differentlyEkaterina Babshukova2019-07-185-55/+104
| |
* | use more correct phantom types for ptrsAleksey Kladov2019-07-182-2/+2
| |
* | jemallocator 0.3Jeremy A. Kolb2019-07-172-5/+5
| |
* | Add "Run" lens for binary runnablesKirill Bulatov2019-07-161-1/+1
|/
* cargo updatekjeremy2019-07-152-2/+2
|
* Switch to Chalk master, without fuelFlorian Diebold2019-07-152-4/+4
|
* Remove blacklist, instead mark `Sized` as non-enumerableFlorian Diebold2019-07-151-17/+3
| | | | | This seems to be enough to prevent hanging in rust-analyzer, Chalk and the rustc repo.
* Cargo update, including updating ChalkFlorian Diebold2019-07-141-0/+2
|
* Have InferenceContext contain an InferenceResult instead of duplicating all ↵Florian Diebold2019-07-141-36/+19
| | | | fields
* Some renamings for clarityFlorian Diebold2019-07-149-25/+28
|
* Fixed request commentsAlexander Andreev2019-07-142-66/+72
|
* Fixed commentsAlexander Andreev2019-07-131-2/+2
|
* More resolution modules with attribute pathAlexander Andreev2019-07-132-4/+521
| | | | #1211
* complete fields in enum variantsEkaterina Babshukova2019-07-125-16/+116
|
* make Parse fields privateAleksey Kladov2019-07-1231-99/+109
| | | | this is in preparation for the new rowan API
* Merge #1523bors[bot]2019-07-122-0/+11
|\ | | | | | | | | | | | | | | 1523: account for dependencies when showing memory usage r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * account for dependencies when showing memory usageAleksey Kladov2019-07-122-0/+11
| |
* | Merge #1520bors[bot]2019-07-113-10/+15
|\ \ | |/ |/| | | | | | | | | | | | | | | 1520: Ignore workspace/didChangeConfiguration notifications. r=matklad a=bolinfest If the client happens to send a `workspace/didChangeConfiguration` notification, it is nicer if rust-analyzer can just ignore it rather than crash with an "unhandled notification" error. Co-authored-by: Michael Bolin <[email protected]>
| * Remove executeCommandProvider: apply_code_action.Michael Bolin2019-07-112-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This appears to have been introduced ages ago in https://github.com/rust-analyzer/rust-analyzer/commit/be742a587704f27f4e503c50f549aa9ec1527fcc but has since been removed. As it stands, it is problematic if multiple instances of the rust-analyzer LSP are launched during the same VS Code session because VS Code complains about multiple LSP servers trying to register the same command. Most LSP servers workaround this by parameterizing the command by the process id. For example, this is where `rls` does this: https://github.com/rust-lang/rls/blob/ff0b9057c8f62bc4f8113d741e96c9587ef1a817/rls/src/server/mod.rs#L413-L421 Though `apply_code_action` does not seems to be used, so it seems better to delete it than to parameterize it.
| * Ignore workspace/didChangeConfiguration notifications.Michael Bolin2019-07-112-4/+11
| |
* | move whitespace manipulation inside AstEditorEkaterina Babshukova2019-07-102-19/+17
| |
* | Make clippy a bit happierPascal Hertleif2019-07-101-0/+4
| | | | | | | | | | Random drive-by fix. I honestly blame rust-analyzer itself on this, because I set its watch mode to use `cargo clippy` :shrug:
* | Resolve a FIXMEPascal Hertleif2019-07-101-3/+1
|/ | | | Now that we are using a newer smol_str release this can be simplified :)