Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename MockDatabase -> TestDB | Aleksey Kladov | 2019-11-04 | 1 | -16/+16 | |
| | | | | Actually working rename is sooo useful! | |||||
* | Remove more duplication in test fixtures | Aleksey Kladov | 2019-11-04 | 1 | -10/+10 | |
| | ||||||
* | further simplify assists | Aleksey Kladov | 2019-10-27 | 1 | -62/+21 | |
| | ||||||
* | Merge #2090 | bors[bot] | 2019-10-27 | 1 | -3/+3 | |
|\ | | | | | | | | | | | | | | | 2090: move public stuff to top r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | rename auto_import -> add_import | Aleksey Kladov | 2019-10-27 | 1 | -3/+3 | |
| | | | | | | | | We are long way from auto imports at the moment | |||||
* | | Fixes #2054. | Wesley Norris | 2019-10-27 | 1 | -0/+2 | |
|/ | | | | This adds the `flip_trait_bound` assist which allows for the swapping of two trait bounds in a trait list that are next to each other. | |||||
* | auto-generate assists docs and tests | Aleksey Kladov | 2019-10-25 | 1 | -1/+3 | |
| | ||||||
* | Adds "replace with guarded return" assist | Mikhail Modin | 2019-10-20 | 1 | -0/+2 | |
| | ||||||
* | WIP: Add demorgan application with naive negation | Lúcás Meier | 2019-10-03 | 1 | -0/+2 | |
| | ||||||
* | remove ast_editor.rs | Aleksey Kladov | 2019-09-30 | 1 | -1/+0 | |
| | ||||||
* | Start simplifying editing API | Aleksey Kladov | 2019-09-26 | 1 | -1/+0 | |
| | ||||||
* | keep ast creation API simple | Aleksey Kladov | 2019-09-26 | 1 | -3/+1 | |
| | ||||||
* | move ast builder to a separate file | Aleksey Kladov | 2019-09-25 | 1 | -0/+1 | |
| | ||||||
* | move assists to subdir | Aleksey Kladov | 2019-09-25 | 1 | -47/+53 | |
| | ||||||
* | feat(assists): raw string <-> usual string manipulation | Geobert Quach | 2019-09-19 | 1 | -0/+5 | |
| | | | | Fixes #1730 | |||||
* | Minor typo fix for ra_assists code doc | Nelson Chen | 2019-09-08 | 1 | -1/+1 | |
| | ||||||
* | add assist to move type bounds to where clause | Ekaterina Babshukova | 2019-09-05 | 1 | -0/+2 | |
| | ||||||
* | Add merge_match_arm assist, bump rowan to 0.6.1 | Phil Ellison | 2019-07-29 | 1 | -0/+2 | |
| | ||||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -8/+8 | |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | |||||
* | add assist to move arm condition to match guard | Unreal Hoang | 2019-05-21 | 1 | -2/+3 | |
| | ||||||
* | rename | Unreal Hoang | 2019-05-16 | 1 | -2/+2 | |
| | ||||||
* | removed duplicating fill_struct_fields assist | Sergey Parilin | 2019-05-06 | 1 | -2/+0 | |
| | ||||||
* | move guard to arm body assist. | Unreal Hoang | 2019-05-01 | 1 | -0/+2 | |
| | ||||||
* | Merge #1194 | bors[bot] | 2019-04-22 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | | | 1194: Pr 1190 r=matklad a=matklad Co-authored-by: Andrea Pretto <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | complete_import: add new import resolver infrastructure with some hardcoded ↵ | Andrea Pretto | 2019-04-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | importable name. Changes complete_scope to support that. | |||||
* | | more type safety | Aleksey Kladov | 2019-04-22 | 1 | -1/+1 | |
| | | ||||||
* | | start structured editing API | Aleksey Kladov | 2019-04-21 | 1 | -0/+1 | |
|/ | ||||||
* | Add explicit type assist. | Marco Groppo | 2019-04-08 | 1 | -0/+2 | |
| | ||||||
* | Assist to flip (some) binary expressions. | Marco Groppo | 2019-03-25 | 1 | -2/+2 | |
| | | | | This assist can flip the following operators: ==, !=, >, >=, <, <=. | |||||
* | Merge #1037 | bors[bot] | 2019-03-25 | 1 | -0/+2 | |
|\ | | | | | | | | | | | | | | | 1037: inline immutable local varialbe r=matklad a=gfreezy resolved #1033 Co-authored-by: gfreezy <[email protected]> | |||||
| * | inline immutable local varialbe | gfreezy | 2019-03-25 | 1 | -0/+2 | |
| | | ||||||
* | | Merge #1036 | bors[bot] | 2019-03-25 | 1 | -0/+2 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | 1036: Assist to flip equality (==) and negated equality (!=) operands. r=matklad a=marcogroppo This PR adds an assist to flip the equality operands. I hope this is the right way to do this (I'm a newbie...) Fixes #1023. Co-authored-by: Marco Groppo <[email protected]> | |||||
| * | Assist to flip equality (==) and negative equality (!=) operands. | Marco Groppo | 2019-03-24 | 1 | -0/+2 | |
| | | ||||||
* | | Add assist for adding default methods | gfreezy | 2019-03-23 | 1 | -0/+1 | |
|/ | ||||||
* | Merge #989 | bors[bot] | 2019-03-18 | 1 | -0/+2 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 989: Implement naive version of fill_struct_fields assist r=matklad a=yanchith Fixes #964 This implements the `fill_struct_fields` assist. Currently only works for named struct fields, but not for tuple structs, because we seem to be missing a `TupleStructLit` (akin to `StructLit`, but for tuple structs). I am happy to implement `TupleStructLit` parsing given some guidance (provided it's really missing) and make the assist work for tuple structs as well. Could do so either in this PR, or another one 🙂 Sorry if I missed something important, this is my first PR for Rust Analyzer. Btw is there any way to run the assists in emacs? UPDATE: I just realized that parsing `TupleStructLit` would be quite difficult as it it really similar, if not identical to a function call... Co-authored-by: yanchith <[email protected]> | |||||
| * | Implement naive version of fill_struct_fields assist | yanchith | 2019-03-17 | 1 | -0/+2 | |
| | | ||||||
* | | Add 'add_missing_impl_members' assist stub | Igor Matuszewski | 2019-03-16 | 1 | -0/+2 | |
|/ | ||||||
* | add marks to assists | Aleksey Kladov | 2019-02-24 | 1 | -0/+1 | |
| | ||||||
* | dont show introduce variable everywhere | Aleksey Kladov | 2019-02-24 | 1 | -5/+15 | |
| | ||||||
* | Assign IDs to assists | Aleksey Kladov | 2019-02-24 | 1 | -0/+6 | |
| | ||||||
* | Move `non_trivia_sibling` to `ra_syntax::algo` | Ville Penttinen | 2019-02-21 | 1 | -5/+1 | |
| | ||||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -1/+1 | |
| | ||||||
* | ra_assists: assist "providers" can produce multiple assists | Andrea Pretto | 2019-02-11 | 1 | -16/+59 | |
| | ||||||
* | auto_import assist | Andrea Pretto | 2019-02-09 | 1 | -0/+3 | |
| | ||||||
* | Improve sorting delegate | robojumper | 2019-02-09 | 1 | -7/+5 | |
| | ||||||
* | Remove unused import | robojumper | 2019-02-08 | 1 | -2/+2 | |
| | ||||||
* | Add tests for action target ranges | robojumper | 2019-02-08 | 1 | -3/+63 | |
| | ||||||
* | Add some assist ranges | robojumper | 2019-02-08 | 1 | -3/+37 | |
| | ||||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -11/+5 | |
| | ||||||
* | Add new assist to remove dbg!() calls | Ville Penttinen | 2019-02-07 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | This fixes #758. Currently we try to maintain the cursor position relative to the statement under cursor, if the cursor is inside the dbg! macro call. Meaning: let foo = dbg!(some.complex<|>().expression()); Should turn into: let foo = some.complex<|>().expression(); With the cursor staying in place. |