How to load and use the sonar in visualizer

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

once i load the necessary software in the visualizer and install it.

can anyone let me know how can i activate or use the sonar in the visualizer 7.3

Hi @Anthony Pvige​ ,

Can you provide more information on the software that you are trying to install? How you are adding it into Visualizer?

Is it an eclipse plugin? If possible please provide link to the software site.

Hi @Elizvxeth Poole​ ,

It is a software which im installing in visualizer. please find the link below.

http://downloads.sonarsource.com/eclipse/eclipse/

After the installation how do i get this integrated in kony visualizer

For eg: SVN is a software that we download and then use it in the visualizer. Sonar is also similar to that.

The issue is im not able to integrate to the visualizer

Hi @Anthony Pvige​ ,

So you have installed it using eclipse update site and it is shown under your preferences I presume?

If yes, you can switch to Java persepective using Window>Open Persepctive> Java.

Once in Java perspective, you can use sonar just like you integrate in any other eclipse version.

Refer to this if it helps:

https://dzone.com/articles/static-code-analysis-and

Hi @Elizvxeth Poole​ ,

Thankyou for the resolution can u please suggest the same for the visualizer 7.3 as i am not able to configure sonar in the visualizer step(given in the link)

Hi @Anthony Pvige​ ,

Visualizer 7.3 uses Eclipse Kepler as a base. So whatever you are able to do in Eclipse Kepler you should be able to do in Java persepctive of Visualizer Enterprise.

Which step you are not able to configure ?

@Elizvxeth Poole - I have tried to install sonar lint from eclipse market place. But i do not see that reflecting in JS files. I see that sonar lint is installed.

How do i get showview->sonarlint view?

Hi @Andwev Avewy​ ,

I don't think you can have sonarlint view from Kony Perspective. You have to use Java perspective only. Now I am not sure how Sonar actually works on Java perspective and what all views/ options are available.

I think you will need to go through the SONAR documentation only to make it work with Eclipse. Basically once out of Kony Perspective, It is pure Eclipse application with eclipse project having JS resources.

You will need to switch between perspectives to use SONAR just like SVN in Visualizer Enterprise.

Hi @Elizvxeth Poole​

Is there a way to add JS perspective in Visualizer?

Hi @Piews King​ ,

You might need to add Javascript developer tools. Please see this post.

https://stackoverflow.com/questions/12269560/javascript-editor-plugin-for-eclipse

@Anthony Pvige​ , @Andwev Avewy​ As you have successfully installed SonarLint from Eclipse Marketplace. Follow these steps to see it in Visualizer.

a) In Visualizer, Window --> Open Perspective --> Java

b) In Java Perspective, Window ---> Show View --> Other

c) In Show View window, Search for SonarLint --> Expand the folder and connect to required option.

Please find the attached scrrenshot for your reference.

Regards,