aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Complete vec macros with square bracketsKirill Bulatov2019-09-122-3/+36
|
* Add `!` to the macro completion labelKirill Bulatov2019-09-124-20/+24
|
* Complete macros parenthesisKirill Bulatov2019-09-124-9/+9
|
* Split out `complete_macro_in_item_position`uHOOCCOOHu2019-09-113-37/+52
|
* Fix typouHOOCCOOHu2019-09-111-1/+1
|
* Show macro definition in hover textuHOOCCOOHu2019-09-101-3/+21
|
* Support completion for macrosuHOOCCOOHu2019-09-104-2/+295
|
* introduce hir debugging infraAleksey Kladov2019-09-092-3/+43
| | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph
* simplifyAleksey Kladov2019-09-061-38/+40
|
* make source_root API more abstractAleksey Kladov2019-09-062-3/+3
|
* fix renaming of modulesAleksey Kladov2019-09-052-72/+86
|
* always use \n newlinesAleksey Kladov2019-09-051-357/+357
|
* Make type walking infrastructure a bit nicerFlorian Diebold2019-09-031-1/+1
| | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet.
* fix assistsAleksey Kladov2019-09-021-42/+49
|
* fix hir for new block syntaxAleksey Kladov2019-09-021-1/+1
|
* :arrow_up: instaAleksey Kladov2019-08-2916-104/+104
|
* 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
|
* 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
|
* 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
| |