10/7/2023 0 Comments Groovy intellij idea community![]() The properties file has JDBC settings, the coverage report path, etc. =target/test-reports/cobertura/coverage.xml # Set language for the project to be Groovy It is a popular IDE among Java developers for. Sonar.sources=src/groovy, grails-app/domain, grails-app/services, grails-app/controllers, grails-app/utils, grails-app/taglib, grails-app/views IntelliJ IDEA is a Java-based IDE created by Jetbrains to aid in software development that is best for you. In sonar-project.properties, we set: # Project key within sonar ![]() Our project uses the "code-coverage" Grails plugin to generate an XML coverage report, then the sonar runner (command line tool) pulls in the metrics. When I install the IntelliJ IDEA Sonarlint plugin, the plugin doesn't seem to pick up the settings from our command line config, and it doesn't show the warning highlights for issues like it does for the Java files in the editor. Kotlin is preferred over the Groovy for writing Gradle scripts because Kotlin is more readable and offers better compile-time checking and IDE support. The best way to figure it out would be to run IntelliJ IDEA in debug mode, attach debugger to its JVM, set a breakpoint e.g. I have run your test on my Linux machine using IntelliJ IDEA Ultimate 2017.3.3 and IntelliJ IDEA Community 2017.3 - it worked as expected in both cases. We have a Grails project which works with sonar-runner on the command line. Framework Minecraft Development Minecraft Dev Compatible with IntelliJ IDEA (Ultimate, Community, Educational) Overview Versions Reviews Plugin Versions Compatibility: IntelliJ IDEA Ultimate Channels: Stable nightly Version Compatibility Range Update Date 2023.2-1.6.8 2023.2 (eap) 2023.2 (rc) 2023.1-1.6.8 2023.1 2023.1. Im guessing this is the root of the problem. 5 Answers Sorted by: 158 IntelliJ IDEA expects the standard Groovy SDK layout which is provided with the official distributions available at Just download, unpack into any directory, specify this directory as the library home. ![]() The Sonarlint plugin for IntelliJ does analysis on our Java code, but it won't analyze Groovy code in the same project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |