6

Boost Your Productivity with IntelliJ Plugins

 2 years ago
source link: https://developer.squareup.com/blog/boost-your-productivity-with-intellij-plugins/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Boost Your Productivity with IntelliJ Plugins
May 10th, 2013 | 2 minute read

Boost Your Productivity with IntelliJ Plugins

Plugins to complement Dagger and Otto.

Twitter
Facebook
Reddit
LinkedIn

Written by Kiran Ryali.

As developers, we rely on our tools to keep us productive and focused. The better our tools, the more productive we can be. Today, we are releasing IntelliJ plugins designed to complement two of our popular open source libraries, Dagger and Otto.

Otto Plugin

If you’re unfamiliar with Otto, it is our event bus for Android. Otto is particularly useful as mechanism to communicate between different parts of your application.

However, events can become difficult to trace when an application becomes sufficiently complex. We find ourselves wondering the origin of events and who is subscribing.

The Otto IntelliJ plugin aims to help bridge the gap by providing a link between the two.

Navigation between @Subscribe and event posts

https___cdn-images-1.medium.com_max_2000_0_1sIIcOBkz6TOUOzG.gif

Dagger Plugin

Dagger is our new dependency injection framework that decouples dependencies from the classes that use them.

The Dagger IntelliJ plugin helps cuts out indirection and creates visual connections between injections and the methods that fulfill them.

Navigating between @Inject and @Provides

https___cdn-images-1.medium.com_max_2000_0_W7ogUrzMowCuVDV9.gif

Dagger and Otto both subvert normal dispatch mechanisms. Doing so is powerful because your code doesn’t need to care where your Pump came from (Dagger) or who published the LocationChangedEvent (Otto).

But as a developer, you do care. These plugins give you the best of both worlds!

Download

Visit the Github project pages for the Dagger and Otto plugins for instructions.

This post is part of Square’s “Seven Days of Open Source” series. Kiran Ryali (@kiranryali) | Twitter The latest Tweets from Kiran Ryali (@kiranryali). Don't trust anything I say with a straight facetwitter.com

Picture of Square Engineering

By Square Engineering
@SquareEngMedium


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK