aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/add_explicit_type.rs
Commit message (Collapse)AuthorAgeFilesLines
* Convert code to text-sizeAleksey Kladov2020-04-251-2/+2
|
* Do not add default and closure types in 'add explicit type' assistKirill Bulatov2020-04-211-5/+43
|
* Convert more tokensAleksey Kladov2020-04-101-2/+2
|
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-2/+2
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* Get rid of ItemOrMacroAleksey Kladov2020-03-261-2/+2
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-3/+2
| | | | | | | | | | 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.
* Name assist handlersAleksey Kladov2020-02-071-0/+178