The organization with whom I'm associated have been using IDE formatter and a similar checkstyle thing in the IDE. The file I have come up with is what a checkstyle plugin supported one, no further detail I have about it.
Kindly Assist Me as I want that file written/generated by eclipse-cs plugin configuration editor to work in SonarQube. The xml file is already in working order in Eclipse IDE but I want my Checkstyle-configuration to work in SonarQube now.
Note: I have already installed checkstyle plugin 2.4 in my SonarQube 5.4
What you need is the Eclipse Plugin SonarLint. Available in the Eclipse Marketplace or on their Website. Once you connect you Plugin with your SonarQube Server it will always trigger a check when you save your file.
Related
I used to develope my own plugins to add some funcionalities to an existing eclipse tool. I just used to add my plugin (jar file) into the plugin folder's tool and it contributed fine adding my own menus into the tool but it's not working anymore since they migrated.
The eclipse tool migrated from 3.x version to some hibrid between 3.x and 4.x. My old plugin used extentions to contribute menus. I tried a test plugin with e4 but it seems like if the eclipse tool is not reading anymore the plugin folder when I drop my plugin there... I cannot modify the eclipse tool, just try to add my own plugins to contribute with the application. Could somebody give a hand with it?
I'm using Sonarlint 2.0 plugin in Eclipse. However, it couldn't detect the sonar issues for new created files. Is there anything I need configure to make it work?
I have a multi-module Gradle java-based project. I have a Sonar server configured with a host of rules. I have tried to integrate Sonar rules into the project in the three following ways, none of which yield a solution where the IDE issues flagged match the Sonar server's flagged issues.
Has anyone integrated Sonar Findbugs, PMD and Checkstyle rules with Intellij on a multi-module Gradle-built java project?
I've tried these steps:
Attempt #1
Sonar has put out an Intellij plugin (https://github.com/SonarSource/sonar-intellij). I attempted to install and configure it with my Sonar server. The plugin was able to hit the Sonar server to pull down profiles, but it was not able to integrate with our gradle project. Right now only multi-module Maven projects appear to be supported by this plugin.
Attempt #2
There is a community developed Sonar Intellij plugin (https://github.com/sonar-intellij-plugin/sonar-intellij-plugin). I stepped through documentation install steps and did troubleshooting to integrate the plugin with individual modules and the top level project. Neither works. When i select 'sync with sonar' I am not able to see the sonar profile when I edit the profiles in 'Analyze code' within the Intellij IDE.
Attempt #3
I found another Intellij plugin called QAPlug (http://plugins.jetbrains.com/plugin/4594) and followed some instructions to export Sonar Findbugs, PMD & Checkstyle rules so that I could import them into this QAPlug and analyze the code using the same rules as the Sonar server. I followed these instructions (http://qaplug.com/about/tutorials/) and got errors when trying to import the FindBugs config I had exported from Sonar. I did some Regex and reformatted the Findbugs component of the export from Sonar to convert it to the format that is importable to the QAPlug plugin in Intellij. I was able to import this ruleset, but got different results from those in Sonar itself. I got the same effect when I followed the advice from post: Sonar, QAPlug, IntelliJ Integration - Multiple profiles?
I contacted Intellj directly and their response to me was to use the community developed plugin (Attempt #2 above).
Given that answer and the lack of additional feedback here, the answer appears to be sonar integration with Intellij 13 is not supported for multi-module gradle java projects by the currently available plugins.
I installed the Sonar plugin(3.2) to eclipse (juno).
link.
However i cannot find it in eclipse . Window > Preferences > does not show up the sonar option. I have restarted eclipse using clear flag (both in command line and modifying the .ini file) but it does not help.
Is there anything else i can do to get the sonar option available?
There was some issue with the 3.2 version of sonar and Juno. An older version of Sonar (2.X) can easily be integrated with juno.
I get the following error when I try to install FindBugs plugin in Netbeans. Can anyone help me how to resolve -
The plugin org.apache.commons.lang is requested in version 2.4.0.
The following plugin is affected: FindBugs
Some plugins require plugin Settings API to be installed.
The plugin Settings API is requested in version >= 1.33.1 but only 1.31.1 was found. The following plugin is affected: FindBugs
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.39.1 but only 7.31.2 was found.
The following plugin is affected: FindBugs
Some plugins not installed to avoid potential installation problems.
As it is answered here, you might be using an old ScanOnDemand plugin, you can add the latest Development Plugins to your Plugins: Plugins > Settings Tab > Add and use the following URL to add a new NB Plugins source:
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
I have tried this solvation, added the source above with name 'Plugin Resource' and checked available plugins. There, Findbugs Integration plugin appeared and installed successfully. When i restarted the ide to finish the installation, it generated an error and never started again.
Thus, i have downloaded netbeans 7.3 from this link and replaced with the old one (7.0.1) on my computer. Now Findbugs plugin is availabe in the list of available plugins without any additional configuration and works flawless. I recommend you to upgrade your ide to 7.3 and solve your problem. This will fix the problems that may occure in the future because of the lack of version of your current netbeans ide.
In addition, after updating the ide, you can use the findbugs plugin installing from this source. This plugin provides to use findbugs explicitly from the inspector.