aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light
Commit message (Collapse)AuthorAgeFilesLines
* kill accidently commited fileAleksey Kladov2019-02-251-182/+0
|
* rename type to type_alias in the AST as wellAleksey Kladov2019-02-253-2/+184
|
* Move `non_trivia_sibling` to `ra_syntax::algo`Ville Penttinen2019-02-211-8/+4
|
* Simplify adding a comma after match armVille Penttinen2019-02-211-28/+18
|
* Fix join_lines not adding a comma after join_single_expr_block in match armVille Penttinen2019-02-211-2/+147
| | | | | | | | | | | | | | | | | | | | | | We will also remove optional whitespace between the expression and the comma. e.g. ```rust fn foo() { let x = (<|>{ 4 } ,); // NOTE: whitespace } ``` becomes ```rust fn foo() { let x = (<|>4,); } ```
* kill utils moduleAleksey Kladov2019-02-211-4/+0
|
* add failing testAleksey Kladov2019-02-211-0/+23
|
* what goes bump in the night?kjeremy2019-02-121-1/+1
|
* Fix typo in Cargo.toml authorsVille Penttinen2019-02-111-1/+1
| | | | Fixes typo introduced in #782
* Update authors field in Cargo.tomls to "rust-analyzer developers"Ville Penttinen2019-02-111-1/+1
| | | | This closes #777
* Refactor formatting code out of ra_ida_api_light into ra_fmt.Andrea Pretto2019-02-085-79/+6
|
* reformat the worldAleksey Kladov2019-02-0810-351/+77
|
* move assists to a separate crateAleksey Kladov2019-02-0611-1164/+17
|
* Remove stray dbg!Jeremy Kolb2019-02-061-1/+1
|
* Fill deprecation for LSPkjeremy2019-02-052-21/+73
|
* Remove unused importsJeremy Kolb2019-02-052-2/+2
|
* Bump insta and proptest to latestkjeremy2019-02-041-2/+2
|
* fill match armgfreezy2019-02-031-7/+10
|
* Some improvements to introduce_variable.Andrea Pretto2019-01-303-8/+181
|
* Fix #667Andrea Pretto2019-01-301-11/+125
|
* fix AST for if expressionsAleksey Kladov2019-01-261-1/+4
| | | | then is not always a block...
* minor cleanupsAleksey Kladov2019-01-261-22/+5
|
* Merge #659bors[bot]2019-01-261-1/+63
|\ | | | | | | | | | | | | | | | | | | 659: Fold blocks of mod items r=matklad a=eulerdisk Fixes #572 As requested, we ignore `mod`s with a visibility specifier. Co-authored-by: Andrea Pretto <[email protected]>
| * Better visibility check.Andrea Pretto2019-01-261-1/+5
| |
| * Fold blocks of mod items.Andrea Pretto2019-01-251-1/+59
| | | | | | | | Fixes #572
* | list enum variants in the outlineAleksey Kladov2019-01-262-3/+24
|/
* rename POS_FIELD -> POS_FIELD_DEFAleksey Kladov2019-01-251-2/+2
| | | | to match NAMED_FIELD_DEF
* fix re-indentAleksey Kladov2019-01-252-3/+56
|
* Fill in DocumentSymbol::detailHrvoje Ban2019-01-242-34/+133
|
* :arrow_up: instaAleksey Kladov2019-01-231-1/+1
|
* Merge #593bors[bot]2019-01-222-8/+12
|\ | | | | | | | | | | | | | | | | | | | | 593: Docs for completion r=matklad a=kjeremy The first commit adds documentation support to CompletionItems. The second one I am unsure about. Is that the right way to add docs for functions? If so should I do something similar for other `hir` types and CompletionItems? Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Update snapsJeremy A. Kolb2019-01-222-8/+12
| |
* | fold macrosAleksey Kladov2019-01-221-1/+12
|/
* :arrow_up: instaAleksey Kladov2019-01-211-1/+1
|
* Merge #536bors[bot]2019-01-161-1/+21
|\ | | | | | | | | | | | | | | | | | | 536: Introduce variable semicolon block expr r=matklad a=yerke Fix for https://github.com/rust-analyzer/rust-analyzer/issues/504 Feels a bit hacky... Co-authored-by: Yerkebulan Tulibergenov <[email protected]>
| * don't need SEMI any moreYerkebulan Tulibergenov2019-01-161-1/+1
| |
| * delete unused fnYerkebulan Tulibergenov2019-01-161-14/+0
| |
| * use has_semiYerkebulan Tulibergenov2019-01-161-5/+4
| |
| * add semi only if it wasn't present before or afterYerkebulan Tulibergenov2019-01-151-3/+19
| |
| * add semicolon for block expr in introduce_variableYerkebulan Tulibergenov2019-01-141-1/+4
| |
| * we don't need to write var_name after block expr?Yerkebulan Tulibergenov2019-01-141-1/+0
| |
| * add failing test test_introduce_var_block_expr_second_to_lastYerkebulan Tulibergenov2019-01-141-0/+17
| |
* | switch to insta for testingAleksey Kladov2019-01-155-24/+116
|/
* Fix some random typosPascal Hertleif2019-01-133-10/+10
|
* fix indent caclulationAleksey Kladov2019-01-132-1/+41
|
* Fix typosJeremy Kolb2019-01-131-2/+2
|
* fine grained on typed testsAleksey Kladov2019-01-111-43/+48
|
* make on dot typed actually workAleksey Kladov2019-01-113-125/+121
|
* better change visibility assistAleksey Kladov2019-01-101-10/+59
| | | | | * don't add visibility before #derive * suggest changing pub(crate) into pub
* fix code duplicationAleksey Kladov2019-01-104-68/+55
|