aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
* fix assistsAleksey Kladov2019-09-021-42/+49
|
* fix hir for new block syntaxAleksey Kladov2019-09-021-1/+1
|
* :arrow_up: instaAleksey Kladov2019-08-2917-105/+105
|
* Strip indents and empty lines in check_apply_diagnostic_fix_from_positionPhil Ellison2019-08-251-36/+55
|
* Specify cursor position in ok-wrapping tests, and switch to using ↵Phil Ellison2019-08-252-35/+31
| | | | analysis_and_position function
* Simplify checking return type, add new testPhil Ellison2019-08-251-2/+28
|
* cargo formatPhil Ellison2019-08-251-10/+11
|
* Change test to not rely on trait inferencePhil Ellison2019-08-251-12/+7
|
* Check type rather than just name in ok-wrapping diagnostic. Add test for ↵Phil Ellison2019-08-251-0/+37
| | | | handling generic functions (which currently fails)
* Add test that ok-wrapping handles type aliasesPhil Ellison2019-08-251-0/+38
|
* Mock std String and Result types in tests for ok-wrapping diagnosticPhil Ellison2019-08-252-14/+65
|
* Initial implementation of Ok-wrappingPhil Ellison2019-08-251-0/+50
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-2318-64/+70
|
* Merge #1715bors[bot]2019-08-224-7/+90
|\ | | | | | | | | | | | | | | 1715: Feature flags r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * implement feature flagsAleksey Kladov2019-08-224-7/+90
| |
* | Update snapshots/highlighting.html to use correct highlightingcynecx2019-08-221-2/+2
| |
* | Fix syntax-highlighting for fields (`NAMED_FIELD_DEF`)cynecx2019-08-211-14/+10
|/
* qualify ast types with `ast::`Aleksey Kladov2019-08-191-11/+8
| | | | | By convention, ast nodes should always be used as `ast::FnDef`. This is to avoid confusion with similarly-named hir types.
* remove ast::*Kind from ra_ide_apiAleksey Kladov2019-08-195-21/+19
|
* Merge #1691bors[bot]2019-08-161-2/+35
|\ | | | | | | | | | | | | | | 1691: Show inherent and trait impls of structs and enums r=viorina a=viorina Co-authored-by: Ekaterina Babshukova <[email protected]>
| * show inherent and trait impls of structs and enumsEkaterina Babshukova2019-08-161-2/+35
| |
* | implement durabilityAleksey Kladov2019-08-153-18/+46
|/
* Use Source in Diagnostic and implementEvgenii P2019-08-121-1/+1
|
* implement while let desugaringAleksey Kladov2019-08-071-7/+29
|
* Style and test fixesKirill Bulatov2019-08-041-28/+28
|
* Use proper inlay kindsKirill Bulatov2019-08-041-29/+13
|
* Merge #1634bors[bot]2019-08-041-8/+57
|\ | | | | | | | | | | | | | | | | | | 1634: Implement .await completion for futures r=flodiebold a=eupn Closes #1263 with completion for `.await` syntax for types that are implementing `std::future::Future` trait. r? @flodiebold Co-authored-by: Evgenii P <[email protected]>
| * Employ early return pattern moreEvgenii P2019-08-041-15/+19
| |
| * Use std::future::Future trait from stdlibEvgenii P2019-08-031-11/+8
| |
| * do fixup: remove unused imports in complete_dot.rsEvgenii P2019-08-021-4/+1
| |
| * Change postfix completion to keyword completionEvgenii P2019-08-021-22/+8
| |
| * Use future lang item instead of hardcoded std::future::FutureEvgenii P2019-08-021-6/+11
| |
| * rustfmtEvgenii P2019-08-021-6/+6
| |
| * Implement completion for the .await syntaxEvgenii P2019-08-021-10/+70
| |
* | Bump depsLaurențiu Nicola2019-08-041-1/+1
|/
* Update insta to 0.9.0 and cargo updatekjeremy2019-07-311-1/+1
|
* Merge #1601bors[bot]2019-07-2938-1064/+870
|\ | | | | | | | | | | | | | | | | | | 1601: Inline snapshots for tests r=matklad a=theotherphil Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1127. The "cargo format" commits are required to get the formatting tests to pass. However, they actually mess up the formatting. Co-authored-by: Phil Ellison <[email protected]>
| * Rerun cargo format, to make tests pass and formatting incorrectPhil Ellison2019-07-282-7/+7
| |
| * Remove vertical ellipses in references.csPhil Ellison2019-07-281-34/+33
| |
| * Remove vertical ellipses from tests in complete_snippet.rs and presentation.rsPhil Ellison2019-07-282-102/+94
| |
| * Remove vertical ellipses from tests in complete_scope.rsPhil Ellison2019-07-281-243/+225
| |
| * cargo formatPhil Ellison2019-07-285-117/+117
| |
| * Inline snapshot for test_file_structure (less clear that this one is a good ↵Phil Ellison2019-07-282-192/+187
| | | | | | | | idea)
| * Inline snapshots for all tests in runnables.rsPhil Ellison2019-07-285-88/+68
| |
| * Inline snapshots for all tests in references.rsPhil Ellison2019-07-282-39/+33
| |
| * Inline snapshots for all tests in complete_snippet, remove now-unused ↵Phil Ellison2019-07-287-81/+58
| | | | | | | | check_completion
| * Inline snapshots for all tests in presentation.rsPhil Ellison2019-07-287-177/+152
| |
| * Inline snapshots for all tests in complete_scope.rsPhil Ellison2019-07-2814-434/+396
| |
| * Remove unused highlights_code_inside_macro snapshot, inline ↵Phil Ellison2019-07-283-83/+33
| | | | | | | | rename_mod_in_dir snapshot
* | Support destructuring patternsKirill Bulatov2019-07-281-47/+305
| |