Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unindent -> dedent | Aleksey Kladov | 2020-05-09 | 1 | -1/+1 |
| | |||||
* | More fluent indent API | Aleksey Kladov | 2020-05-09 | 1 | -13/+13 |
| | |||||
* | Rename ImplItem to AssocItem | Edwin Cheng | 2020-05-05 | 1 | -3/+3 |
| | |||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | Fix panic in split_imports assist | Aleksey Kladov | 2020-04-20 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | The fix is admittedly quit literally just papering over. Long-term, I see two more principled approaches: * we switch to a fully tree-based impl, without parse . to_string step; with this approach, there shouldn't be any panics. The results might be nonsensical, but so was the original input. * we preserve the invariant that re-parsing constructed node is an identity, and make all the `make_xxx` method return an `Option`. closes #4044 | ||||
* | Generate only minimal set of ineresting tokens | Aleksey Kladov | 2020-04-10 | 1 | -3/+3 |
| | |||||
* | Curley tokens | Aleksey Kladov | 2020-04-10 | 1 | -2/+2 |
| | |||||
* | Semicolon token | Aleksey Kladov | 2020-04-10 | 1 | -2/+2 |
| | |||||
* | Remove code duplication | Aleksey Kladov | 2020-04-09 | 1 | -2/+1 |
| | |||||
* | Be consistent about token accesors | Aleksey Kladov | 2020-04-09 | 1 | -2/+2 |
| | |||||
* | Add _token suffix to token accessors | Aleksey Kladov | 2020-04-09 | 1 | -3/+3 |
| | | | | | I think this makes is more clear which things are : AstNode and which are : AstToken | ||||
* | Provide more complete AST accessors to support usage in rustc | Luca Barbieri | 2020-04-09 | 1 | -15/+11 |
| | |||||
* | When adding match arm, don't let the floating comma | Aleksey Kladov | 2020-03-31 | 1 | -9/+20 |
| | |||||
* | Use IntoIter | Aleksey Kladov | 2020-03-30 | 1 | -4/+4 |
| | |||||
* | Tidy up insertion position logic | Matthew Hall | 2020-03-29 | 1 | -20/+6 |
| | |||||
* | Remove unneeded variables | Matthew Hall | 2020-03-29 | 1 | -4/+2 |
| | |||||
* | Append new match arms rather than replacing all of them | Matthew Hall | 2020-03-28 | 1 | -30/+112 |
| | | | | This means we now retain comments when filling in match arms. | ||||
* | Fix merge-imports assist for wildcard imports | Piotr Szpetkowski | 2020-03-27 | 1 | -2/+3 |
| | |||||
* | Replace if with if-let | Aleksey Kladov | 2020-03-27 | 1 | -3/+8 |
| | |||||
* | Merge #3708 | bors[bot] | 2020-03-24 | 1 | -38/+65 |
|\ | | | | | | | | | | | | | | | | | | | | | 3708: Generalise syntax rewriting infrastructure to allow removal of nodes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Generalise syntax rewriting infrastructure to allow removal of nodes | Aleksey Kladov | 2020-03-24 | 1 | -38/+65 |
| | | |||||
* | | Align naming | Aleksey Kladov | 2020-03-24 | 1 | -3/+3 |
|/ | |||||
* | Merge imports assist | Aleksey Kladov | 2020-03-18 | 1 | -0/+20 |
| | | | | Work towards #2220 | ||||
* | Strongly-typed generic methods for editing nodes | Aleksey Kladov | 2020-03-18 | 1 | -47/+49 |
| | |||||
* | Simplify creation of `T[,]` | Aleksey Kladov | 2020-03-06 | 1 | -2/+2 |
| | |||||
* | Rerail split_import API onto AST | Aleksey Kladov | 2020-03-06 | 1 | -0/+18 |
| | | | | | The code is more verbose and less efficient now, but should be reusable in add_import context as well | ||||
* | Add with_use_tree | Aleksey Kladov | 2020-03-05 | 1 | -0/+10 |
| | |||||
* | Cleanup editing API | Aleksey Kladov | 2020-02-29 | 1 | -6/+5 |
| | |||||
* | More orthogonal path editing | Aleksey Kladov | 2020-01-15 | 1 | -0/+42 |
| | |||||
* | More fluent API | Aleksey Kladov | 2020-01-15 | 1 | -10/+12 |
| | |||||
* | Slightly more fluent API | Aleksey Kladov | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-01-15 | 1 | -5/+8 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-01-15 | 1 | -7/+5 |
| | |||||
* | Fix ordering problem between qualifying paths and substituting params | Florian Diebold | 2020-01-11 | 1 | -4/+4 |
| | |||||
* | Use unwrap_or_default | kjeremy | 2019-12-20 | 1 | -2/+2 |
| | |||||
* | do refact and fix some issue | bravomikekilo | 2019-11-24 | 1 | -1/+11 |
| | |||||
* | Make make:: builders slightly more convenient | Aleksey Kladov | 2019-11-13 | 1 | -1/+1 |
| | |||||
* | Adds "replace with guarded return" assist | Mikhail Modin | 2019-10-20 | 1 | -0/+28 |
| | |||||
* | add syntax-tree based indents | Aleksey Kladov | 2019-10-12 | 1 | -6/+85 |
| | |||||
* | cleanup editor | Aleksey Kladov | 2019-09-30 | 1 | -1/+4 |
| | |||||
* | remove ast_editor.rs | Aleksey Kladov | 2019-09-30 | 1 | -0/+12 |
| | |||||
* | move remove bounds to ast/edit.rs | Aleksey Kladov | 2019-09-30 | 1 | -1/+15 |
| | |||||
* | move field list to ast/edit.rs | Aleksey Kladov | 2019-09-30 | 1 | -1/+81 |
| | |||||
* | migrate add impl items to the new editing API | Aleksey Kladov | 2019-09-28 | 1 | -3/+94 |
| | |||||
* | simplify strip attrs | Aleksey Kladov | 2019-09-28 | 1 | -1/+20 |
| | |||||
* | Start simplifying editing API | Aleksey Kladov | 2019-09-26 | 1 | -0/+52 |