A simple IntelliJ plugin that adds an action, Regex Align, that will align lines of code according to user provided regular expression. The Regex Align action can be found near the bottom of the Code menu. It is also recommended to add a keyboard shortcut, instructions below.
- In IntelliJ, navigate to the following menu selection: File => Settings => Plugins
- Click the 'Browse Repositories' button
- In the search bar in the upper right of the dialog, search for 'Front End Alignment'
- Double click the row containing Front End Alignment and follow installation procedure
- In IntelliJ, navigate to the following menu selection: File => Settings => Plugins
- Click the 'Install plugin from disk' button
- Choose the front_end_alignment.jar file located in this projects root directory
- Restart IntelliJ to activate plugin
- In IntelliJ, navigate to the following menu selection: File => Settings => Keymap
- In the search bar in the upper right of the dialog, search for 'Regex Align'
- Click on one of the rows containing Regex Align
- Right click and choose the 'Add Keyboard Shortcut' option
- Type your shortcut(ex. Alt+Shift+R) and click OK