Description
Simple code formatter based on ACE 3 Coding Guidelines.
Click here to see how it works.
What does it do
- Remove leading and tailing whitespaces
- Normalize brackets
- Normalize comments
- Normalize case of commands
- Normalize spaces before and after comma
- Normalize
if and while statements
- Remove multiple spaces
- Add new line after every semicolon
- Remove any whitespaces before semicolon and duplicates
- Trim content of parentheses
- Parse block levels and set indents
Usage
- Press
Shift + Alt + F to format code in editor
- Click the
Right Mouse Button (RMB) on your code and select Format document
- Select code, click the
RMB and select Format Selection or press Ctrl + K and Ctrl + F
Hotkeys may be different depending on your settings
| |