aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/add_missing_impl_members.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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