Integrating Polystyle Into IntelliJ Idea 3.0
Define Polystyle as an external tool
- Click Options -> External Tools -> Add....
- Click -> External Tools.
- Assuming you installed Polystyle in c:\Program Files\Polystyle, fill in the forms
as show below:

- Click OK, then OK.
Add a keymapping so you can invoke Polystyle using CTRL + T
- Click Options -> Keymap
- It is not possible to edit the default keymap, so you must copy it into a new keymap.
Click the default keymap, then press Copy.
- Name your new keymap something like My Keymap.
- In the Action column, expand the External Tools tree node.
- Select the Shortcuts cell in the Format with Polystyle row.
- You may now define your keymap as show below:

- Click OK, then OK.
You may now invoke Polystyle two ways
- Using CTRL + T
- By clicking Tools -> Format with Polystyle.
|