Skip to content

Migrated plugin home to nbplugins/NetbeansPluginClaudeCodeGui - #126

Merged
oleg68 merged 1 commit into
nbplugins:mainfrom
oleg68:feature/migrate-to-nbplugins
May 18, 2026
Merged

oleg68 merged 1 commit into
nbplugins:mainfrom
oleg68:feature/migrate-to-nbplugins

Conversation

@oleg68

@oleg68 oleg68 commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Renamed Java packages from io.github.nbclaudecodegui to io.github.nbplugins.claudecodegui
  • Updated Maven coordinates to io.github.nbplugins:netbeans-plugin-claude-code-gui
  • Bumped version to 1.0.0-SNAPSHOT
  • codeNameBase kept as io.github.nbclaudecodegui — NetBeans sees this as an update of the existing plugin, not a new one

Settings & window migration

V1MigrationHelper runs on first IDE startup after upgrade (ClaudeCodeInstaller.restored()):

  • Copies all 5 NbPreferences nodes from old package paths to new paths, then removes old nodes
  • Rewrites Windows2Local/Components/*.settings files, replacing old class FQNs with new ones — restores previously open Claude Code and Markdown Preview tabs

Test plan

  • Install old plugin, configure settings (zoom, session limit), open Claude Code and Markdown Preview tabs
  • Install new .nbm over old — NetBeans must offer an update (not install separately)
  • Restart IDE — previously open tabs must be restored
  • Verify settings (zoom, profiles, session limit) are preserved
  • Open a new Claude Code session and confirm normal operation

🤖 Generated with Claude Code

- Renamed Java packages from io.github.nbclaudecodegui to
  io.github.nbplugins.claudecodegui
- Updated Maven coordinates to io.github.nbplugins:netbeans-plugin-claude-code-gui
- Bumped version to 1.0.0-SNAPSHOT (1.0.1-SNAPSHOT after CI bump)
- codeNameBase kept as io.github.nbclaudecodegui for seamless update
- Added V1MigrationHelper: one-time migration of NbPreferences nodes
  and Windows2Local/*.settings class FQNs on first startup after upgrade
- Added V1MigrationHelperTest (9 tests)
- Updated CI, docs, and all internal resource paths

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@oleg68
oleg68 merged commit 59ba5c9 into nbplugins:main May 18, 2026
3 checks passed
@oleg68
oleg68 deleted the feature/migrate-to-nbplugins branch May 18, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant