Add IntelliJ runners for Create GUI Form and Open GUI Builder#4948
Merged
Conversation
Expose the existing cn1:create-gui-form and cn1:guibuilder Maven goals as IntelliJ run configurations in the bundled workspace.xml, under the Tools folder. The className parameter is wired to the $Prompt$ macro so IntelliJ asks for it on each invocation; guiType defaults to Form for create-gui-form. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Compared 16 screenshots: 16 matched. |
Contributor
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |
…a.zip The initializr ships its own .idea/ template inside scripts/initializr/ common/src/main/resources/idea.zip. Keep the bundled workspace.xml in that template in sync with the maven-plugin copy by adding the same two run configurations (cn1:create-gui-form with className=$Prompt$ and guiType=Form; cn1:guibuilder with className=$Prompt$) under the Tools folder. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Compared 105 screenshots: 105 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
Collaborator
Author
|
Compared 106 screenshots: 106 matched. Native Android coverage
✅ Native Android screenshot tests passed. Native Android coverage
Benchmark ResultsDetailed Performance Metrics
|
Contributor
Cloudflare Preview
|
Collaborator
Author
|
Compared 102 screenshots: 102 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
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.
Summary
workspace.xml(the one that gets dropped into every generated project's.idea/):cn1:create-gui-formwithclassName=$Prompt$andguiType=Formcn1:guibuilderwithclassName=$Prompt$$Prompt$is IntelliJ's built-in macro that pops up a dialog asking for the value at run time, so users no longer need to hand-edit the run config or type a full Maven command to create a form or open the GUI builder for a specific class.scripts/initializr/common/src/main/resources/idea.zipso projects generated from start.codenameone.com also pick them up.Suggested by a community member on the forum.
Test plan
idea.zipin any unzip tool still lists the same five files (encodings.xml,debugger.xml,workspace.xml,misc.xml,compiler.xml).🤖 Generated with Claude Code