You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
We actually have an IntelliJ plugin which is supposed to provide this functionality as well: https://github.com/square/dagger-intellij-plugin. Sadly it's fallen a bit out of favor with regard to upkeep, but we have plans to revive it and restore it to its former glory.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
(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 @Provides
so you can use it next time from (Copy from existing template
)Hope that helps!
The text was updated successfully, but these errors were encountered: