aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api_light/src
Commit message (Collapse)AuthorAgeFilesLines
* Move highlighting and matching_braceWilco Kusee2019-03-232-153/+1
|
* Remove LocalEdit usageWilco Kusee2019-03-231-15/+0
|
* Move typing to ra_ide_apiWilco Kusee2019-03-232-410/+0
|
* Move join_lines to ra_ide_apiWilco Kusee2019-03-224-619/+2
|
* Move folding_ranges to ra_ide_apiSergey Parilin2019-03-222-328/+0
|
* line_index and line_index_utils moved to ra_ide_apiSergey Parilin2019-03-223-614/+0
|
* move diagnostics to ide_apiAleksey Kladov2019-03-212-248/+0
|
* move extend selection from ra_ide_api_light to ra_ide_apiAleksey Kladov2019-03-202-387/+16
|
* Use TypeAscriptionOwnerVille Penttinen2019-02-261-4/+10
| | | | | | This replaces places where we would use node + node.type_ref() with things that have an ascribed type, with using the TypeAscriptionOwner as the trait bound so we can simply pass the node.
* 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
|
* Refactor formatting code out of ra_ida_api_light into ra_fmt.Andrea Pretto2019-02-084-79/+5
|
* 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
|
* 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
|
* 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
|/
* 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-154-24/+115
|/
* 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
|