... | ... | @@ -92,6 +92,18 @@ https://www.jetbrains.com/idea/download/ |
|
|
|
|
|
Для настройки используем [asvoip_checkstyle.xml](https://gitlab.asvoip.com/pro-sd/pro-sd-ump/-/blob/master/ump/asvoip_checkstyle.xml).
|
|
|
|
|
|
За основу взят [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html).
|
|
|
|
|
|
Подключаем check_style проекта: http://prntscr.com/ugrcdx
|
|
|
|
|
|
Настраиваем checkstyle: http://prntscr.com/ugrgli
|
|
|
|
|
|
В настройках (справо кнопочка) нужно выбрать
|
|
|
|
|
|
`Import Scheme` -> `CheckStyle Configuration`
|
|
|
|
|
|
Проверить код проекта на checkstyle: http://prntscr.com/ugrcrq
|
|
|
|
|
|
3.5.2 Плагин [SonarLint](https://plugins.jetbrains.com/plugin/7973-sonarlint)
|
|
|
|
|
|
Плагин - анализатор кода SonarLint.
|
... | ... | |