Skip to content

Athenizer

Raviv Rachmiel edited this page Jun 4, 2017 · 19 revisions

The Athenizer is a project within the Spartan Refactoring project, which adds the feature of bloating your code in order to make it bigger and easier to debug. The Athenizer offers friendly GUI that allows both bloating and spartanizing your code in an easy way!

Installation

The Athenizer is part of the Spartan Refactoring plugin, so you need to install the Spartan Refactoring plugin according to the instructions detailed in Spartan Refactoring Installation Instructions, and then you'll be able to use all Athenizer features.

User Interface

Main Menu

The main spartanization menu includes Athenizer features as follows:

  • Spartanizer->Athenizer->current selection: preforms code bloating on the text currently selected.
  • Spartanizer->Athenizer->active window: preforms code bloating on active window.

Mouse Wheel Zooming

The main feature offered by The Athenizer is zooming in/out your code using your mouse wheel:

zoom in - 'ctrl' button + scroll mouse wheel up zoom out - 'ctrl' button + scroll mouse wheel down

In order to use this feature you first have to activate it by one of the following ways:

  • Spartanizer->Zoomer->turn on/off
  • Pressing ctrl+alt+d
  • Pressing ctrl+8
  • Pressing the button: which appears in the upper menu bar.

Note that the next press will deactivate the athenizer's zoomer.

Shortcut Zooming

The main feature offered by The Athenizer is zooming in/out your code using your mouse wheel.

zoom in - 'ctrl' + 'alt' + '+' zoom out - 'ctrl' + 'alt' + '-'

In order to use this feature you first have to activate it by one of the following ways:

  • Spartanizer->Zoomer->turn on/off
  • Pressing ctrl+alt+d
  • Pressing ctrl+8
  • Pressing the button: which appears in the upper menu bar.

Note that the next press will deactivate the athenizer's zoomer.

Joystick Control

  • Make sure that the joystick is activated according to the installation instructions

  • Pressing ctrl+alt+d

  • Tilt the joystick forward\backward while pressing the rear button in order to zoom in\out

  • Tilt the joystick left\right while pressing the rear button in order to set the length of method arguments.

Widget

From the pre-release of 2.10.1, the athenizer comes with a built in widget that can be used to contol it. 2017-06-03_13-22-53.png

Current operations include:

  • git pull/push/commit
  • zomming in and out of a file
  • cleaning a project

To widget can be activated from:

  • Spartanizer->Widget->Spartan Widget
  • pressing ctrl+alt+w

The widget prefernces page can be accessed from the eclipse preferences page (found under window->preferences), under java->spartanization tips->widget. In that page you can configure what each button does and add/remove buttons from the widget. In the furue, more operations will be added to choose from and the widget will allow more customization.

Clone this wiki locally