/TNB

Primary LanguageJava

TNB - The New Beginning framework

For more information see the readme files in the modules.

common

fuse-products

system-x

Contributing

To minimize the amount of changes done in PR, please use code style configuration from this repository.

The code style is in the EditorConfig file.

IntelliJ IDEA setup

EditorConfig support
  • Enable EditorConfig plugin if it is not already enabled
  • Go to Settings -> Editor -> Code Style
    • check Enable EditorConfig support if not already enabled
    • in Formatter Control check Enable formatter markers in comments if not already enabled
  • Optional: you can also use the Save Actions plugin to automatically reformat the code and imports on each save
CheckStyle
  • Install CheckStyle-IDEA plugin
  • Go to Settings -> Tools -> Checkstyle
    • Checkstyle version: any version from 8.24 to 8.43 (latest at the time of writing) should work (if you select some version and then add the config file and the file is loaded successfully, you should be good to go)
    • Scan scope Only Java sources (including tests)
    • Set Treat Checkstyle errors as warnings by your personal preference
    • Add a configuration file - click on + in the Configuration File section
    • Use a local checkstyle file from the checkstyle directory and set some description (for example TNB configuration)
    • Mark the newly added configuration as active

General tips

Generating CRD classes

See here