I have seen that a plugin dedicated to Scala is under development (http://docs.sonarqube.org/display/SONARQUBE45/Scala+Plugin).
Would someone be able to tell me when the development of this plugin will be completed and when it could be available through the SonarQube Update Center ?
I also found an other plugin (https://github.com/RadoBuransky/sonar-scoverage-plugin).
Do you plan to propose it in the SonarQube Update Center ?
Thanks
There is an official SonarSource Scala plugin. The documentation is here:
https://docs.sonarqube.org/latest/analysis/languages/scala/
EDIT 03 Aug 2018
You could use mwz/sonar-scala plugin. I see it is up-to-date.
The page http://docs.sonarqube.org/display/SONARQUBE45/Scala+Plugin is very old and outdated.
There is no any official Scala plugin and probably will not be implemented in the near future.
From mailing list:
Where is the official Sonar Scala plugin? (07/Jul/2015)
Freddy Mallet: there isn't any official SonarQube Scala plugin
Source Code of Scala Plugin? (28/Aug/2015)
Dinesh Bolkensteyn: it has been removed due to the lack of activity. [...] you can find the latest master here: https://github.com/hgomez-sonarsource/sonar-scala
Looks like somebody else stepped up to fill the void. Check out this plugin.
Related
We are currently trying to update our Play project to Scala 2.13. For SASS support we included sbt-sassify according to the documentation.
During the upgrade progress we noticed that sbt-sassify is only available for Scala 2.12. The Play docs do not suggest any alternative.
I just posted an issue at the plugins github page asking if support for 2.13 will come but as the last changes to the project are over a year old I have doubts there will be a timely reaction.
Has anyone else have this problem? Any ideas for replacements? Similar plugins like sbt-sass or play-sass seem to be rather dead and have no current artifacts in jcenter or similar repos.
Don't worry about that. SBT 1.x plugins are only available for Scala 2.12 in general.
Using sonar github plugin, I successfully did for several java base based projects
jenkins -> sonar scan -> github pull request
I need to do the same thing for scala based project (regular scala sonar run is good as well).
However, this plugin (sonar-github) seems to dropping all scala scan results.
Anyone with luck for it? Or it is impossible to do? or I need another plugin?
Thanks
Chris L
There's no official code analyzer for Scala. That's the reason why no issues are detected on Scala code.
Note that it does not relate to the GitHub plugin, which aims to decorate pull requests with the issues raised by code analyzers.
After upgrading Intellij Idea to version 2016.1 I got problem with Docker plugin due to missed dependency org.jetbrains.plugins.remote-run
Plugin Error
Problems found loading plugins:
Plugin "Docker integration" was not loaded: required plugin "org.jetbrains.plugins.remote-run" not installed.
Disable Docker integration
Open plugin manager
Do you any ideas where I can find this plugin ?
As stated here, One of the guys developing IntelliJ IDEA 2016.1 thought that the remote-run plugin was available in the Community Edition for IntelliJ IDEA (which it isn't). That was this morning (Dated: 18th March 2016), hopefully he'll extract the dependency sometime soon and update the plugin.
TL;DR: Wait a little while until the Docker plugin has been updated, a Jetbrains Developer screwed up.
According to the changelog the
The Docker plugin has been improved in many ways
Reinstall it to assure missing dependencies are provided.
Can someone please suggest a good tutorial for developing plugin for SonarQube 5.2? I have tried searching for it but whatever I have found are based on sonar wsclient which is removed completely from 5.2 onward.
You should read Developing Plugins guide on the SonarQube Wiki.
From Browse Repositories in IntelliJ 14, the newest Scala plugin is version 1.5.2.
From the Scala plugin homepage for IntelliJ, the latest version (as of Aug 10, 2015) is 1.7.4. https://plugins.jetbrains.com/plugin/?id=1347
However, when I tried to install it from "Intall plugin from disk ..." after downloading scala-intellij-bin-1.7.4, I got this error:
What might be wrong?
On the link that you've provided you can see that compatible Intellij Idea builds for 1.7.4 version are 142.3553 — 143. The latest 14 Idea build has version lower than 142 - so it's incompatible with this plugin version. There is already EAP Intellij Idea 15 which you can download and install new scala plugin version on it.
I faced the same issue with 2020.2.4 Intellij IDEA. I just uninstalled the plugin and installed it again. Fixed the problem.
Try this way:
Go in settings - ctrl + shift + s
Plugins
Updates at the top
Push the button Update all
Done!
The best option is to directly install the Scala plugin from the marketplace. However, if you can't do it for some reason (say, HTTP proxy related), you can download the plugin and install in the IntelliJ. Finding the correct plugin is little tricky, I provided a screenshot below:
The supported products are provided and we will need to look closely for that. This plugin will only work for those products.