Add SonarQube views to more Eclipse flavors and IDEs#1016
Open
thahnen wants to merge 5 commits intoSonarSource:masterfrom
Open
Add SonarQube views to more Eclipse flavors and IDEs#1016thahnen wants to merge 5 commits intoSonarSource:masterfrom
thahnen wants to merge 5 commits intoSonarSource:masterfrom
Conversation
The Eclipse IDE for Enterprise Java and Web Developers has a perspective that differs from the normal JDT one. As this IDE is mostly downloaded, we should add the perspective to raise visibility with the users.
For users using the plug-in inside the Eclipse IDE for PHP Developers we should add the views to raise visibility.
Sloeber is the Arduino IDE based on Eclipse CDT to enable users to develop with the Arduino platform in the Eclipse IDE. We should add the views to raise visibility with them, also because C/C++ analysis is available already in Standalone Mode.
This is a commercial COBOL IDE from IBM, already coming pre-bundled with a "SonarLint" integration. We should show the views by default when SonarQube for IDE is installed as it is an essential plug-in for developing COBOL alongside SonarQube Server / Cloud. This applies to IDz 16.x and 17.y versions of the IDE, version 15.z is only supporting Java 8, stuck with ye old SonarLint 6.2.
There was a problem hiding this comment.
Pull request overview
This PR expands the default Eclipse workbench/perspective wiring so SonarQube for IDE (SonarLint) views are automatically added to fresh workspaces for additional Eclipse distributions/IDEs beyond the existing Java/CDT/PDE coverage.
Changes:
- Add a perspective extension for the Java EE (WTP) J2EE perspective to place SonarQube views by default.
- Add a perspective extension for the PHP (PDT) perspective to place SonarQube views by default.
- Add perspective extensions intended for Sloeber and IBM Developer for z/OS to place SonarQube views by default.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Correct perspective id.
Member
|
Thanks for the contribution @thahnen, it's always appreciated! :) We will definitely have a look at it, sorry if there's a slight delay. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I made an effort a while back to show the most relevant views directly on the Eclipse workbench when the user has the plug-in installed and a fresh workspace is created (views can be added, removed afterwards manually of course).
Back then I only focused on the "normal" Eclipse IDE distribution mainly targeting Java and Plug-in developers as well as C/C++ developers with Eclipse CDT.
A lot of people are also relying on the Eclipse IDE for Enterprise Java and Web Developers (see download data from 2025-12), including myself and my colleagues. There, the views wouldn't show up by default and the user would have to add them manually. Missed opportunity to already hook them 😄
This PR adds the views to the fresh workspace for this distribution, as well as the Eclipse IDE for PHP Developers that is the main entry point for people working with PHP and Eclipse. Also, I added it to Sloeber, the plug-in and standalone distribution that replaces the Arduino IDE with the superior Eclipse IDE, based on Eclipse CDT, and used for microcontroller and embedded shenanigans. I use it daily nowadays and am super sad that the views are missing. So this is a bit more personal but could raise visibility nonetheless ^^
At last I also added the views to the IBM Developer for z/OS IDE perspective. This is the commercial COBOL IDE from IBM and from experience the one supporting our plug-in the best (having an integration plug-in themselves) and I think this makes sense, also streamlining the onboarding of SonarQube inside their IDE, raising direct awareness. This came to mind also because I saw recent activity about the IDE and our fabulous plug-in in the Community Forum.
You can test all these changes by installing the respective IDEs, installing
SonarLintSonarQube for IDE, then restarting the IDE with a fresh workspace. Most views should pop up at the bottom, the SonarQube Rule Description view on the right hand side.As always, if you don't accept the PR itself, here is the perspectives.patch. If you accept it or cherry-pick, please keep me as the author and don't squash them 4 commits please, but rebase.
Looking forward that 'LGTM' from you @nquinquenel, kinda miss it 🙇♂️
And as always,
Cheers 🍺