-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jb] add inspections & quickfixes on .gitpod.yml vmoptions config #11089
base: main
Are you sure you want to change the base?
[jb] add inspections & quickfixes on .gitpod.yml vmoptions config #11089
Conversation
@yaohui-wyh It looks very promising! Couple question:
|
I'm afraid no automated project-wide inspections on IDE project startup is available:
TL;DR: Currently, the project-wide analysis works only in Java projects (and the analysis is disabled by default), users have to run inspection manually.
Yeah, I did hesitate about the file-level warning. The tricky part is the Inspection warning ( One possible way is to add a blank line to
I did add a quickfix for applying VMOptions in the CL ApplyVMOptionsQuickFix.kt, but suppress the usage of it in the following commit, I left a comment on #11002 (comment) for the reason. 💭 |
Let me check with JB folks. I wonder can we have a marker in the project explorer then? |
un-draft to move forward with CR |
So from JB folks we can do following on project open:
|
Hi Anton,
Notification & create-
I tried and it works, thanks for the hint! I'll make a following commit. |
Run inspection automatically on startup implemented at 49a4935 inspection-on-start.mov |
This PR is getting larger, I'll leave some notes for ease of CR: Known Issues:
Review needed:
|
/werft run 👍 started the job as gitpod-build-yh-backend-plugin-inspection-fork.0 |
@yaohui-wyh Sorry I did not have time to try earlier. I'm trying to build but it fails [1]:
|
Fixed. PTAL:) |
/werft run |
/werft run 👍 started the job as gitpod-build-yh-backend-plugin-inspection-fork.1 |
@yaohui-wyh It's still failing: https://werft.gitpod-dev.com/job/gitpod-build-yh-backend-plugin-inspection-fork.1/raw sorry for long turnarounds |
602fa25
to
aac9eb3
Compare
The build failure might be caused by other components which this PR didn't touch (failed at leeway
|
/werft run 👍 started the job as gitpod-build-yh-backend-plugin-inspection-fork.2 |
The build failure is still irrelevant to the PR (
|
/werft run 👍 started the job as gitpod-build-yh-backend-plugin-inspection-fork.3 |
/werft run 👍 started the job as gitpod-build-yh-backend-plugin-inspection-fork.4 |
/werft run 👍 started the job as gitpod-build-yh-backend-plugin-inspection-fork.5 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@yaohui-wyh I've reopened it. We have some issues with build system to run tests from forks. @andreafalzetti is looking this week in some inspections of plugins and then we will have a look at your PR to align as well |
Description
Implements Xmx config checks in JetBrains gitpod-remote plugin:
quickfix-add.mov
runtimeXmx != configuredXmx
orruntimeXmx != defaultXmx
quickfix-replace.mov
Related Issue(s)
Related #10924
How to test
Test locally (Run
runIde
task from IntelliJ plugin):.gitpod.yml
file is activeRelease Notes
Documentation
Werft options: