Repository navigation
Add MCP regenerate_form_code(path) to regenerate modified swing-based forms in Netbeans
#192
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -782,6 +782,7 @@ The plugin exposes a set of IDE tools to Claude via an MCP (Model Context Protoc | |
| | `permission_prompt` | Shows proposed file changes in the diff panel and waits for your approval | | ||
| | `show_markdown` | Renders markdown text directly in a Markdown Preview tab; accepts the markdown content plus optional title and file path | | ||
| | `show_markdown_file` | Opens a live-updating Markdown Preview tab for an existing `.md` file on disk; the tab automatically refreshes when the file changes | | ||
| | `regenerate_form_code` | Regenerates the GUI Builder code (`initComponents()` and the variables declaration) of a Swing form's `.java` file from its edited `.form` file, exactly as the NetBeans GUI Builder does, and saves the form (NetBeans re-saves the `.form` in its own formatting). Claude calls it after changing a `.form` file. An open designer is reloaded from it. Refused if the form has unsaved changes in the IDE | | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a short limitation note: the tool relies on NetBeans form-module internals and may stop working after an IDE update; it requires the Swing GUI Builder to be enabled. |
||
|
|
||
| ### Prompts that work well with IDE tools | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,7 +6,7 @@ | |||||
|
|
||||||
| <groupId>io.github.nbplugins</groupId> | ||||||
| <artifactId>netbeans-plugin-claude-code-gui</artifactId> | ||||||
| <version>1.3.53-SNAPSHOT</version> | ||||||
| <version>1.3.55-SNAPSHOT</version> | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The project rule is a +1 patch bump (main is at 1.3.53).
Suggested change
|
||||||
| <packaging>nbm</packaging> | ||||||
| <name>Netbeans Plugin Claude Code GUI</name> | ||||||
| <description>NetBeans plugin that provides a GUI for Claude Code CLI — run claude code sessions directly inside the IDE.</description> | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per CLAUDE.md, entries describe the change from the user's perspective, without implementation details: