aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/add_explicit_type.rs
Commit message (Collapse)AuthorAgeFilesLines
* CleanupAleksey Kladov2020-05-201-3/+2
|
* Use back ticks instead of single quotes around codeTrevor Spiteri2020-05-141-1/+1
|
* Omit default types in HirDisplay SourceCode modeTimo Freiberg2020-05-101-1/+1
|
* Ascribe more correct typesAleksey Kladov2020-05-091-9/+10
|
* Refactor assists API to be more convenient for adding new assistsAleksey Kladov2020-05-071-3/+3
| | | | It now duplicates completion API in its shape.
* Move target to AssistLabelAleksey Kladov2020-05-061-1/+1
| | | | | 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
|
* 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