starwars-progress-bar

A plugin for the IntelliJ-IDEA displaying varies vehicles from Star Wars

MIT License

Stars
10

starwars-progress-bar

This is the Star Wars Progress Bar for IJ based IDEs. It replaces the progress bar with random vehicles from Star Wars.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Star Wars Progress Bar" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > > Install plugin from disk...


Vehicles

A list of all included vehicles can be found here.

Code

Build scripts

The project provides a separate gradle task 'includeVehicles' which traverses the factions.json file in the src/main/resources/json directory. This file contains all vehicles with their properties. The gradle task reads this file in and generates a section for this README file that includes all vehicles provided by this plugin.

Add new vehicles

To add new vehicles to this plugin you need to add a new entry to the factions.json which specifies the file name of the icon, the color of the progress bar, the x shift, the y shift and the velocity. Furthermore you need to provide translations for the vehicle name. For this you have to add a new entry to each StarWarsBundle(_locale).properties file. The localization key has to be prefixed with 'vehicles.' and should end with the name of the icon file.

For each vehicle you have to provide 4 icons two with a resolution size of 32x32 pixel and two with a resolution of 64x64 pixel. One icon of each resolution is used for the forward direction and one for the backward direction. Note that you can only use the middle vertical 32 pixel of the 64x64 respectivly the middle verticle 16 pixels of the 32x32 icons otherwise the progressbar will cut of everything beyond it. The plugin uses only the 32x32 resolution icons but the 64x64 are referenced by this README.

The naming of the icons should as followed:

  • vehicle_name.png (for the forward 32x32 pixel icon)
  • vehicle_name_r.png (for the backward 32x32 pixel icon)
  • [email protected] (for the forward 64x64 pixel icon)
  • [email protected] (for the backward 64x64 pixel icon)

The vehicle name should not contain any spaces or dashes. Please use underscores instead.

Acknowledgements

Code

Icons

  • All icons were created by me.

Misc

  • Special thanks to George Lucas and Lucasfilm for creating Star Wars
Badges
Extracted from project README
Version Rating Downloads
Related Projects