Skip to content

mp911de/atsoundtrack

Repository files navigation

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

  1. Download the IntelliJ IDEA plugin from https://plugins.jetbrains.com/plugin/7783 (or your favorite IDE).
  2. 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

AtSoundtrack

Works also with PhpStorm, WebStorm, PyCharm and RubyMine.

License

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.