Hello, thanks for dagger, which is great.
A co-worker of mine who was unfamiliar with it was confused all the time from where those @Inject fields come from.
To make his life easier, here is a structural search pattern that people can use, it's quite useful
Action Search Structurally (or Edit > Find > Search Structurally)
Enter the following template
class $Class$ {
@Provides( )
$MethodType$ $MethodName$($ParameterType$ $ParameterName$);
}
In Edit variables, edit $MethodName$ like this

Also edit $ParameterName$

Now when you serach Search Structurally, you get

Save it as template named Dagger @Provides so you can use it next time from (Copy from existing template)
Hope that helps!
Hello, thanks for dagger, which is great.
A co-worker of mine who was unfamiliar with it was confused all the time from where those
@Injectfields come from.To make his life easier, here is a structural search pattern that people can use, it's quite useful
Action
Search Structurally(orEdit > Find > Search Structurally)Enter the following template
In

Edit variables, edit$MethodName$like thisAlso edit

$ParameterName$Now when you serach
Search Structurally, you getSave it as template named
Dagger @Providesso you can use it next time from (Copy from existing template)Hope that helps!