AtSoundtrack
Plugin that provides @soundtrack based on the music you're playing on iTunes or Spotify. This plugin works only if you use a Mac. @soundtrack can be used either with code completion or as variable in the file templates.
Example
/**
* @author <a href="mailto:mpaluch@paluch.biz">Mark Paluch</a>
* @soundtrack DJ Outrance - Best of Trance 2013
*/
@Path("import")
public class ImportsResource {
...
}
Setup
- Download the IntelliJ IDEA plugin from https://plugins.jetbrains.com/plugin/7783 (or your favorite IDE).
- To setup @soundtrack in your templates: Open Preferences go to Editor -> File and Code Templates -> Includes and select "File Header".
Add the following code:
#if (${soundtrack} && ${soundtrack} != "")
* @soundtrack ${soundtrack}
#end
Finally: Use IntelliJ IDEA with iTunes or Spotify to generate @soundtrack
Works also with PhpStorm, WebStorm, PyCharm and RubyMine.
License
- [Apache License 2.0] (http://www.apache.org/licenses/LICENSE-2.0)
Contributing
Github is for social coding: if you want to write code, I encourage contributions through pull requests from forks of this repository. Create Github tickets for bugs and new features and comment on the ones that you are interested in.