Víðarr code style
The preferred coding style for Víðarr and Shesmu is in vidarr-intellij-style.xml.
To import this style to the IntelliJ IDE:
- Go to
File -> Settings
- Click the small gear icon next to the
Code Style
dropdown - Select
Import Scheme -> IntelliJ IDEA Code Style XML
and browse to vidarr-intellij-style.xml - Click
OK
to importShesmu Style
- Click
OK
in the mainSettings
dialog
Existing code can be reformatted by setting up IntelliJ as above, opening the source file, and selecting Code -> Rearrange Code
.