aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename ast::ImplBlock -> ast::ImplDefAleksey Kladov2020-02-291-5/+5
|
* Move insert_use util to utilsAleksey Kladov2020-02-281-0/+3
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-12/+12
| | | | | | | | | | 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.
* Fixing minor suggestions and added module level documentation.Kevin DeLorey2020-02-111-2/+1
|
* Removed doc comments entirely from the changes.Kevin DeLorey2020-02-111-2/+0
|
* Formatted changes.Kevin DeLorey2020-02-111-5/+5
|
* Updated the `add_missing_impl_members` to use the shared utility.Kevin DeLorey2020-02-111-1/+1
|
* Adjusted the hashset buckets to lump functions/consts together as their ↵Kevin DeLorey2020-02-111-9/+10
| | | | names must be unique.
* Added a utility function that can be used to determine the missing impl items.Kevin DeLorey2020-02-091-2/+75
|
* Introduce assists utilsAleksey Kladov2020-02-071-0/+27