aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/add_missing_impl_members.rs
Commit message (Collapse)AuthorAgeFilesLines
* Better cursor placement when adding impl membersAleksey Kladov2020-05-201-38/+46
|
* Use snippets in add_missing_membersAleksey Kladov2020-05-201-27/+35
|
* Correctly fill default type parametersFedor Sakharov2020-05-131-0/+50
|
* More fluent indent APIAleksey Kladov2020-05-091-3/+2
|
* Refactor assists API to be more convenient for adding new assistsAleksey Kladov2020-05-071-15/+17
| | | | It now duplicates completion API in its shape.
* Move target to AssistLabelAleksey Kladov2020-05-061-7/+7
| | | | | Target is used for assists sorting, so we need it before we compute the action.
* Merge assits::test_helpers and testsAleksey Kladov2020-05-061-1/+1
|
* Rename ImplItem to AssocItemEdwin Cheng2020-05-051-13/+13
|
* Add missing members generates indented blocksAleksey Kladov2020-05-021-78/+116
|
* Change missing impl assist to use todo!() instead of unimplemented()Chris Hopman2020-04-101-17/+17
| | | | | | | | | | | | todo!() "Indicates unfinished code" (https://doc.rust-lang.org/std/macro.todo.html) Rust documentation provides further clarification: > The difference between unimplemented! and todo! is that while todo! > conveys an intent of implementing the functionality later and the > message is "not yet implemented", unimplemented! makes no such claims. todo!() seems more appropriate for assists that insert missing impls.
* Align namingAleksey Kladov2020-03-241-1/+1
|
* SimplifyAleksey Kladov2020-03-131-2/+2
|
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-3/+3
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-18/+11
| | | | | | | | | | 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.
* Formatted changes.Kevin DeLorey2020-02-111-2/+2
|
* Fixed warning generated after refactoring.Kevin DeLorey2020-02-111-1/+1
|
* Updated the `add_missing_impl_members` to use the shared utility.Kevin DeLorey2020-02-111-33/+14
|
* Name assist handlersAleksey Kladov2020-02-071-0/+608