Skip to content

Code style

Mike Ahlers edited this page Oct 11, 2018 · 4 revisions

Back to home

Code style

Index

Introduction

This page describes the code styling for the micro service.

IntelliJ

The following template holds all code guidelines here. See also explained by JetBrains here. For visibility it is also posted below:

<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="Technolords">
  <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="50" />
  <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="30" />
  <option name="IMPORT_LAYOUT_TABLE">
    <value>
      <package name="" withSubpackages="true" static="true" />
      <emptyLine />
      <package name="java" withSubpackages="true" static="false" />
      <emptyLine />
      <package name="javax" withSubpackages="true" static="false" />
      <emptyLine />
      <package name="org" withSubpackages="true" static="false" />
      <emptyLine />
      <package name="com" withSubpackages="true" static="false" />
      <emptyLine />
      <package name="" withSubpackages="true" static="false" />
    </value>
  </option>
  <MarkdownNavigatorCodeStyleSettings>
    <option name="RIGHT_MARGIN" value="72" />
  </MarkdownNavigatorCodeStyleSettings>
  <XML>
    <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
  </XML>
</code_scheme>
Clone this wiki locally