aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
Commit message (Collapse)AuthorAgeFilesLines
* simplify strip attrsAleksey Kladov2019-09-282-26/+3
|
* Merge #1815bors[bot]2019-09-271-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1815: Support correct `$crate` expansion in macros r=uHOOCCOOHu a=uHOOCCOOHu This PR makes normal use cases of `$crate` from macros work as expected. It makes more macros from `std` work. Type inference works well with `panic`, `unimplemented`, `format`, and maybe more. Sadly that `vec![1, 2, 3]` still not works, but it is not longer an issue about macro. Screenshot: ![Screenshot_20190927_022136](https://user-images.githubusercontent.com/14816024/65714465-b4568f80-e0cd-11e9-8043-dd44c2ae8040.png) Co-authored-by: uHOOCCOOHu <[email protected]>
| * Support `$crate` in item and expr place.uHOOCCOOHu2019-09-261-1/+1
| |
* | Start simplifying editing APIAleksey Kladov2019-09-264-78/+4
|/
* move diff to ra_syntaxAleksey Kladov2019-09-261-24/+3
|
* keep ast creation API simpleAleksey Kladov2019-09-266-244/+74
|
* add new editing API, suitable for modifying several nodes at onceAleksey Kladov2019-09-253-31/+77
|
* Merge #1911bors[bot]2019-09-251-4/+4
|\ | | | | | | | | | | | | | | 1911: fewer monomorphisations r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * fewer monomorphisationsAleksey Kladov2019-09-251-4/+4
| |
* | clean up namingAleksey Kladov2019-09-251-1/+1
| |
* | shorten AstBuilder namesAleksey Kladov2019-09-254-50/+38
| |
* | minor builder cleanupsAleksey Kladov2019-09-253-55/+55
| |
* | cleaned up record field builderAleksey Kladov2019-09-251-6/+1
| |
* | move ast builder to a separate fileAleksey Kladov2019-09-256-234/+236
| |
* | move assists to subdirAleksey Kladov2019-09-2519-47/+53
|/
* Remove redundant clone()Shotaro Yamada2019-09-251-1/+1
|
* Revert SelfJeremy Kolb2019-09-231-1/+1
|
* Drive by lintskjeremy2019-09-232-2/+2
|
* Suspicious line endingskjeremy2019-09-201-370/+370
|
* feat(assists): Apply commentsGeobert Quach2019-09-191-100/+59
|
* feat(assists): Rename `escape_quote` to `escape_double_quote`Geobert Quach2019-09-191-3/+3
|
* feature(assists): Fix regressionGeobert Quach2019-09-191-2/+2
|
* feat(assists): manage `"` when removing hash and make_usual_stringGeobert Quach2019-09-191-5/+90
|
* feat(assists): raw string <-> usual string manipulationGeobert Quach2019-09-192-0/+331
| | | | Fixes #1730
* Move store TypeRef of type based path in PathKinduHOOCCOOHu2019-09-151-1/+1
|
* Support path starting with a typeuHOOCCOOHu2019-09-151-3/+4
|
* rename AdtDef -> AdtAleksey Kladov2019-09-121-2/+2
|
* Minor typo fix for ra_assists code docNelson Chen2019-09-081-1/+1
|
* add assist to move type bounds to where clauseEkaterina Babshukova2019-09-053-0/+167
|
* fix assistsAleksey Kladov2019-09-022-4/+7
|
* fix hir for new block syntaxAleksey Kladov2019-09-022-7/+13
|
* :arrow_up: once_cellAleksey Kladov2019-09-011-1/+1
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-233-13/+13
|
* make ast object safeAleksey Kladov2019-08-231-2/+5
|
* refactor fill_match_arms assistEkaterina Babshukova2019-08-223-132/+170
|
* refactor TryConvWith similar to ConvWithAleksey Kladov2019-08-201-4/+1
|
* remove ast::*Kind enums from assistsAleksey Kladov2019-08-195-45/+45
|
* Lower fully qualified associated type pathsFlorian Diebold2019-08-121-0/+1
| | | | I.e. `<T as Trait>::Foo`.
* rustfmtEvgenii P2019-07-301-10/+15
|
* Fix flip comma assistEvgenii P2019-07-301-0/+25
|
* Add merge_match_arm assist, bump rowan to 0.6.1Phil Ellison2019-07-292-0/+190
|
* Document AssistBuilderAleksey Kladov2019-07-292-10/+23
| | | | closes #1603
* streamline APIAleksey Kladov2019-07-211-2/+3
|
* switch to upstream rowan's APIAleksey Kladov2019-07-205-13/+15
|
* align SyntaxText API with upstreamAleksey Kladov2019-07-203-4/+7
|
* rename range -> text_rangeAleksey Kladov2019-07-2017-64/+73
|
* sane indexing in textAleksey Kladov2019-07-191-4/+3
|
* convenience apiAleksey Kladov2019-07-191-4/+4
|
* migrate ra_assists to the new ASTAleksey Kladov2019-07-1916-203/+212
|
* make Parse fields privateAleksey Kladov2019-07-122-5/+6
| | | | this is in preparation for the new rowan API