aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
Commit message (Collapse)AuthorAgeFilesLines
* Fix retrieval of the Fn traitsFlorian Diebold2019-09-251-1/+1
| | | | | I used the wrong query, so it only used the lang items from the respective crate...
* clean up namingAleksey Kladov2019-09-251-1/+1
|
* cleanup diagnosticsAleksey Kladov2019-09-251-4/+6
|
* shorten AstBuilder namesAleksey Kladov2019-09-251-4/+4
|
* cleaned up record field builderAleksey Kladov2019-09-251-1/+3
|
* move ast builder to a separate fileAleksey Kladov2019-09-251-1/+1
|
* move assists to subdirAleksey Kladov2019-09-251-2/+2
|
* Remove redundant clone()Shotaro Yamada2019-09-254-5/+5
|
* allow compiling ra_ide_api on wasmAleksey Kladov2019-09-206-12/+76
|
* A few doc commentskjeremy2019-09-191-1/+9
|
* Merge #1853bors[bot]2019-09-197-27/+47
|\ | | | | | | | | | | | | | | | | 1853: Introduce FromSource trait r=matklad a=viorina The idea is to provide an ability to get HIR from AST in a more general way than it's possible using `source_binder`. It also could help with #1622 fixing. Co-authored-by: Ekaterina Babshukova <[email protected]>
| * introduce FromSource traitEkaterina Babshukova2019-09-197-27/+47
| |
* | Pacify rustfmt.Mazdak Farrokhzad2019-09-191-4/+1
| |
* | `fold_kind`: `MATCH_ARM_LIST => FoldKind::Block`Mazdak Farrokhzad2019-09-191-0/+18
|/
* Remove TraitItem and ImplItem in favor of AssocItemFlorian Diebold2019-09-171-3/+3
|
* Refactor a bit to prepare for resolving trait assoc itemsFlorian Diebold2019-09-175-14/+17
|
* Remove a dbg!Florian Diebold2019-09-141-1/+1
|
* rename add_resolution -> add_scope_defAleksey Kladov2019-09-131-18/+0
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-135-56/+76
| | | | That way, we are able to get rid of a number of unreachable statements
* rename AdtDef -> AdtAleksey Kladov2019-09-128-30/+24
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-126-23/+24
|
* 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-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
| |