Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 670 Bytes

code-style.md

File metadata and controls

12 lines (9 loc) · 670 Bytes

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 import Shesmu Style
  • Click OK in the main Settings dialog

Existing code can be reformatted by setting up IntelliJ as above, opening the source file, and selecting Code -> Rearrange Code.