Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.46 KB

readme.md

File metadata and controls

51 lines (36 loc) · 1.46 KB

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.