简体   繁体   English

无法在平台中安装 sonarlint 插件:Eclipse Mars.1 (4.5.1)

[英]Not able to install sonarlint plugin in Platform: Eclipse Mars.1 (4.5.1)

Trying to install sonar lint plugin in STS tool, it is not installing and says Sonar lint not compatible with this version of eclipse.尝试在 STS 工具中安装 Sonar Lint 插件,它没有安装,并说 Sonar Lint 与此版本的 Eclipse 不兼容。

Find the versions details.查找版本详细信息。

Spring Tool Suite
Version: 3.7.2.RELEASE
Build Id: 201511261048
Platform: Eclipse Mars.1 (4.5.1)

Hi you can download sonar lint from the follwing URL http://www.sonarlint.org/eclipse/ then follow the steps given below您好,您可以从以下 URL http://www.sonarlint.org/eclipse/下载 sonar lint,然后按照下面给出的步骤操作

  1. Make sure the download location, Don't unpack the archive file(for windows)确保下载位置,不要解压存档文件(for windows)
  2. Go to install new software option in eclipse Help >>转到eclipse帮助中安装新软件选项>> 在此处输入图像描述

  3. Click Add button in right of work with text field, following screen will appear单击文本字段右侧添加按钮,将出现以下屏幕在此处输入图像描述

  4. Fill name location as "Sonar" etc将名称位置填写为“Sonar”等

  5. Now select the downloaded archive file by clicking Archive button现在通过单击存档按钮选择下载的存档文件
  6. Follow the installation instructions from the Installation window按照安装窗口中的安装说明进行操作

you can also install zip file of SonarLint as follow:您还可以安装SonarLint的 zip 文件,如下所示:

1.go to the site https://bintray.com/sonarsource/SonarLint-for-Eclipse/releases/2.6.0 . 1.转到网站https://bintray.com/sonarsource/SonarLint-for-Eclipse/releases/2.6.0

2.download the setup jar file and go to help menu of eclipse 2.下载安装jar文件并进入eclipse的帮助菜单

在此处输入图像描述

3.click on "install new software" 3.点击“安装新软件”

在此处输入图像描述

4.click on add. 4.点击添加。

5.click on "archive". 5.点击“存档”。

6."open" the jar file from the location you have downloaded the jar. 6 从您下载 jar 的位置“打开”jar 文件。

在此处输入图像描述

  1. install the software.安装软件。

Not sure what the problem exactly is, but I worked around this by starting up STS, select "Install New Software" and pasted the Solarlint update site URL into that dialog: http://eclipse.sonarlint.org/不确定到底是什么问题,但我通过启动 STS 解决了这个问题,选择“安装新软件”并将 Solarlint 更新站点 URL 粘贴到该对话框中: http ://eclipse.sonarlint.org/

That allowed me to install the plugin into STS 3.7.2 without any issues.这让我可以毫无问题地将插件安装到 STS 3.7.2 中。 Hope this helps!!!希望这可以帮助!!!

Please Make visit to this link and as i see you are using mars.请访问此链接,我看到您正在使用火星。

1. If you have eclipse marketplace installed then you can proceed as per. 1.如果您安装了 eclipse marketplace,那么您可以按照以下步骤继续。

在此处输入图像描述

you just need to drag this icon to your eclipse and done.您只需将此图标拖到您的日食中即可完成。

2. If not Installed then also same link click on download button and after downloading go to eclipse on right side there is search functionality type install new software and then select that option window will pop up choose>> add button>> archive button>>and upload zip file from download location >> accept agreement and done click on next done. 2.如果没有安装,那么同样的链接点击下载按钮,下载后转到右侧的 eclipse 有搜索功能类型install new software ,然后选择该选项窗口将弹出选择>>添加按钮>>存档按钮>>并从下载位置上传 zip 文件>>接受协议并完成点击下一步完成。

If you found it easy and helpful please up-vote happy coding and reviewing with sonarlint如果您发现它简单且有帮助,请使用sonarlint投票快乐编码和审查

1.Download it from https://www.sonarlint.org/eclipse/ 1.从https://www.sonarlint.org/eclipse/下载

2.In Eclipse go to Help->Install New Software->Add 2.在 Eclipse 中转到帮助->安装新软件->添加

3.Now click on Archive and select downloaded plugin zip and click Ok 3.现在单击存档并选择下载的插件 zip,然后单击确定

4.Select the items and click Next and then accept license agreement and finally it will ask for a restart 4.选择项目点击下一步然后接受许可协议最后会要求重启

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM