How to configure SonarLint in IntelliJ? - intellij-idea

I was using SonarLint plugin in IntelliJ IDEA by using the url of our project. However, I want to configura it independently for my custom projects, but I am confused how should I do that. Could you pls clarify me about the following issues?
1. What is the SonarCloud and SonarCube options for configuring the SonarLint plugin in IntelliJ IDEA?
2. If I have not a specific url or server for SonarQube, how should I configure the plugin? Which section should I select (SonarCloud and SonarCube)?

I think you'll find the documentation here.
I don't think the plugin will work if you don't have any installed SonarQube instance, or a SonarCloud account. The plugin needs to interact with a server to retrieve coding rules.

Related

Where to find Quarkus run configuration in Intellij IDEA?

Some time ago I used to run Quarkus projects in Linux as any other proyect, this means by clicking "Edit Configurations" and selecting "Quarkus (Maven)" as you can see in this picture:
But now I´m using Windows and those menus have disapeared:
As an alternative currently I´m running my Quarkus projects from Maven tab, which isn´t a fashion way:
So at the begining I thought this was due to a bug in Quarkus Tools plugin that I created a new issue, however that plugin does not offer such feature. Could anybody give a hand on how to run Quarkus projects as any other project? Thanks in advance.
Run configurations are offered by this plugin: https://plugins.jetbrains.com/plugin/14242-quarkus-integration
Looks like it is discontinued though, marked as "deprecated" and it's not showing in the Plugin marketplace (within IntelliJ) for me, so I had to install it via the website.
AFAIK there are plans for the official JetBrains bundled plugin to support it (https://youtrack.jetbrains.com/issue/IDEA-228507), but it's not done yet.

Shifting from Eclipse Checkstyle to SonarQube Checkstyle

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.

Connected Mode on SonarLint v2.0 on IntelliJ not working?

SonarLint v2.0 for IntelliJ is out now, and has this "connect to sonar server" feature, but even so, it seems it isn't in sync with my server rules.
http://www.sonarlint.org/intellij/#Connected
Is it working for someone?
I'm I missing a step?
Or could it be a bug?
Thanks!
IntelliJ Idea Version: 2016.1
SonarLint Version: 2.0.1
SonarQube Version: 5.4
SonarLint, as of now, won't work with third party analyzers like PMD or FindBug, if you are using those, they will simple be ignored.
You can update your rules in SonarQube Server to only use rules defined in the SonarQube repository, most of them have an equivalent version.
Please check SonarLint console for details and open a thread on SonarLint Google group so that we can investigate.

How to write an IntelliJ IDEA Plugin?

IDEA has many plugins to use. I.e. IDEtalk is one of them which I use. How can I code a simple plugin that just connects to Internet and shows a web page? (no need for an address bar but it is not a problem to be). I want my plugin's shortcut's button locate at my IDE as like IDEtalk, Commander, Maven Projects etc.
Any ideas?
Check the documentation and the source code of the other plug-ins available in the public git repository of the Community Edition.
There is a Creating Your First Plugin guide on JetBrains web site. It covers all the needed steps from plugin creation to deployment to the plugin repository.
You might also want take a look in the source code of a simple plugin like Twitter Integration Plugin which I recently implemented. Or check a more complex one like this one.

IntelliJ Idea 10.5.2 WebLogic Deployment tab is missing context dropdown

IntelliJ Idea 10.5.0 WebLogic Run/Debug configuration documentation mentions context dropdown. I am using 10.5.2 version and cannot find this dropdown. Is there a way to configure application context without editing application server specific descriptor?
Actually it is mistake in documentation. There is no such option for WebLogic run configurations.