Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce visibility | Aleksey Kladov | 2020-03-18 | 1 | -28/+28 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-03-13 | 2 | -8/+5 |
| | |||||
* | Don't use generic DB where a concrete one will do | Aleksey Kladov | 2020-03-13 | 1 | -6/+2 |
| | |||||
* | Remove some TextUnit->usize escapees | CAD97 | 2020-03-13 | 1 | -1/+1 |
| | |||||
* | Rerail split_import API onto AST | Aleksey Kladov | 2020-03-06 | 1 | -19/+33 |
| | | | | | The code is more verbose and less efficient now, but should be reusable in add_import context as well | ||||
* | Unfold groups with single assists into plain assists | Kirill Bulatov | 2020-03-05 | 2 | -8/+6 |
| | |||||
* | Remove old find refs infra | Aleksey Kladov | 2020-03-04 | 2 | -13/+21 |
| | |||||
* | Highlight assist tests | Aleksey Kladov | 2020-03-03 | 2 | -48/+52 |
| | |||||
* | Fix applicability of inline local | Aleksey Kladov | 2020-03-03 | 3 | -10/+34 |
| | |||||
* | One more assert | Aleksey Kladov | 2020-03-02 | 1 | -1/+6 |
| | |||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 5 | -21/+21 |
| | |||||
* | Add a FIXME | Aleksey Kladov | 2020-02-29 | 1 | -0/+2 |
| | |||||
* | Fix typo | Aleksey Kladov | 2020-02-29 | 2 | -2/+2 |
| | |||||
* | Cleanup editing API | Aleksey Kladov | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | More orthogonal API for building paths | Aleksey Kladov | 2020-02-29 | 2 | -11/+18 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-02-28 | 3 | -23/+3 |
| | |||||
* | Move insert_use util to utils | Aleksey Kladov | 2020-02-28 | 5 | -533/+538 |
| | |||||
* | introduce const visibility assist | Douglas Campos | 2020-02-28 | 1 | -4/+9 |
| | |||||
* | Refactor string literals | Aleksey Kladov | 2020-02-27 | 1 | -1/+2 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 10 | -153/+100 |
| | | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax. | ||||
* | Remove code duplication in tests | Aleksey Kladov | 2020-02-26 | 2 | -101/+73 |
| | |||||
* | Replace generic with a concrete type | Aleksey Kladov | 2020-02-25 | 1 | -12/+13 |
| | |||||
* | Add `remove_mut` assist | Aleksey Kladov | 2020-02-19 | 3 | -0/+51 |
| | |||||
* | Cleanup | Shotaro Yamada | 2020-02-19 | 1 | -1/+1 |
| | |||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 2 | -5/+5 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 4 | -6/+6 |
| | |||||
* | Merge #3108 | bors[bot] | 2020-02-17 | 3 | -36/+88 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3108: Magic Completion for `impl Trait for` Associated Items r=matklad a=kdelorey # Summary This PR adds a set of magic completions to auto complete associated trait items (functions/consts/types). ![Associated Trait Impl](https://user-images.githubusercontent.com/2295721/74493144-d8f1af00-4e96-11ea-93a4-82725bf89646.gif) ## Notes Since the assist and completion share the same logic when figuring out the associated items that are missing, a shared utility was created in the `ra_assists::utils` module. Resolves #1046 As this is my first PR to the rust-analyzer project, I'm new to the codebase, feedback welcomed! Co-authored-by: Kevin DeLorey <[email protected]> | ||||
| * | Fixing minor suggestions and added module level documentation. | Kevin DeLorey | 2020-02-11 | 1 | -2/+1 |
| | | |||||
| * | Removed doc comments entirely from the changes. | Kevin DeLorey | 2020-02-11 | 1 | -2/+0 |
| | | |||||
| * | Formatted changes. | Kevin DeLorey | 2020-02-11 | 2 | -7/+7 |
| | | |||||
| * | Fixed warning generated after refactoring. | Kevin DeLorey | 2020-02-11 | 1 | -1/+1 |
| | | |||||
| * | Updated the `add_missing_impl_members` to use the shared utility. | Kevin DeLorey | 2020-02-11 | 2 | -34/+15 |
| | | |||||
| * | Adjusted the hashset buckets to lump functions/consts together as their ↵ | Kevin DeLorey | 2020-02-11 | 1 | -9/+10 |
| | | | | | | | | names must be unique. | ||||
| * | Added a utility function that can be used to determine the missing impl items. | Kevin DeLorey | 2020-02-09 | 2 | -3/+76 |
| | | |||||
* | | Do not collect all traits | Kirill Bulatov | 2020-02-12 | 1 | -102/+53 |
| | | |||||
* | | Support associated consts | Kirill Bulatov | 2020-02-12 | 1 | -18/+133 |
| | | |||||
* | | Also consider associated constants | Kirill Bulatov | 2020-02-12 | 1 | -8/+8 |
| | | |||||
* | | Fix post-rebase issues | Kirill Bulatov | 2020-02-12 | 1 | -14/+13 |
| | | |||||
* | | Refactor the code | Kirill Bulatov | 2020-02-12 | 1 | -96/+93 |
| | | |||||
* | | Adjust the assist group name | Kirill Bulatov | 2020-02-12 | 1 | -9/+25 |
| | | |||||
* | | Add profiling | Kirill Bulatov | 2020-02-12 | 1 | -0/+3 |
| | | |||||
* | | Support trait method call autoimports | Kirill Bulatov | 2020-02-12 | 1 | -100/+206 |
| | | |||||
* | | Trait location draft | Kirill Bulatov | 2020-02-12 | 1 | -9/+120 |
| | | |||||
* | | Refactor path for imports extraction | Kirill Bulatov | 2020-02-12 | 1 | -20/+92 |
| | | |||||
* | | Add method tests | Kirill Bulatov | 2020-02-12 | 1 | -3/+116 |
| | | |||||
* | | Resolve methods and functions better | Kirill Bulatov | 2020-02-12 | 1 | -3/+20 |
| | | |||||
* | | Introduce AttrKind | Kirill Bulatov | 2020-02-12 | 1 | -2/+1 |
| | | |||||
* | | Do not add imports before inner attributes | Kirill Bulatov | 2020-02-12 | 1 | -1/+29 |
| | | |||||
* | | Add or- and parenthesized-patterns | Matthew Jasper | 2020-02-09 | 3 | -10/+10 |
|/ | |||||
* | Fix rebase leftovers | Kirill Bulatov | 2020-02-09 | 1 | -2/+2 |
| |