Skip to content

docs: document the Vaadin Eclipse plugin as the recommended way to run with hotswap - #5884

Merged
Artur- merged 4 commits into
mainfrom
docs/5833-eclipse-plugin-hotswap
Aug 20, 2026
Merged

docs: document the Vaadin Eclipse plugin as the recommended way to run with hotswap#5884
Artur- merged 4 commits into
mainfrom
docs/5833-eclipse-plugin-hotswap

Conversation

@totally-not-ai

@totally-not-ai totally-not-ai Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The Run in Eclipse IDE page still claimed that Vaadin has no official plugin for Eclipse IDE, and only described the manual JetBrains Runtime + HotswapAgent setup. The Vaadin plugin for Eclipse now bundles HotswapAgent and contributes a Debug using Hotswap Agent launch shortcut, so that is now documented as the recommended route, with the manual setup kept as the alternative.

Fixes #5833

What changed

run/eclipse.adoc

  • Split the old Enabling Hotswap section into three: a shared JetBrains Runtime section (required either way), Enabling Hotswap Using the Vaadin Plugin, and Enabling Hotswap Manually.
  • The plugin section explains that the bundled agent is installed as .vaadin/eclipse-plugin/hotswap-agent.jar in the user's home directory, that the plugin picks up any JetBrains Runtime Eclipse knows about, and that it creates an Application [Hotswap] debug configuration which starts the agent via -javaagent and adds the remaining JVM parameters. Plugin users are pointed straight at the new Verifying the Setup section so they don't accidentally follow the manual instructions.
  • The manual step list now names the required JVM parameters (-XX:+AllowEnhancedClassRedefinition, -XX:+ClassUnloading, -XX:HotswapAgent=fatjar), and Debug Configuration describes what each one does. The -XX:+ClassUnloading description is corrected: it's the JVM default and is passed explicitly only to make sure it isn't turned off elsewhere. Added a reminder that these go in VM arguments, not Program arguments.
  • Corrected the Eclipse preferences path for adding a JRE (menu:Window[Preferences] / menu:Eclipse[Preferences] → menu:Java[Installed JREs]).
  • Dropped the outdated copilot-development-workflow-eclipse2.png screenshot and its "Vaadin does not have an official plugin for Eclipse IDE" caption, replacing it with a description of the expected result and what an orange item means.
  • Added explicit anchors (enabling-hotswap-using-the-vaadin-plugin, debug-configuration, verifying-the-setup) for the headings that are now cross-linked, and updated the page's meta description.

Other pages

  • configuration/live-reload/hotswap-agent.adoc: mentions the Eclipse plugin route alongside the existing IntelliJ and VS Code ones.
  • dev-environment/install-ide.adoc: notes that the Eclipse plugin is needed for hotswap, not just Copilot integration.
  • .github/styles/config/vocabularies/Docs/accept.txt: added JREs to the Vale vocabulary.

The page claimed that Vaadin has no official plugin for Eclipse IDE and
only described the manual JetBrains Runtime + HotswapAgent setup. The
Vaadin plugin for Eclipse now bundles HotswapAgent and adds a
"Debug using Hotswap Agent" launch shortcut, so document that as the
recommended way and keep the manual setup as the alternative.

Also drop the outdated "Eclipse development workflow is not supported
yet" Copilot screenshot and describe the expected result instead.

Fixes #5833
- Use the real Eclipse settings path for adding JetBrains Runtime.
- Drop the undo claim, which the Copilot reference limits to IntelliJ.
- Point plugin users to the verification section so they don't fall
  into the manual instructions.
- Mention hotswap alongside Copilot on the Install an IDE page.
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-5884.fly.dev

Changed pages

Added content is highlighted in green; removed content is marked in red on each page.

Built from 881e4fb

Name the required JVM parameters in the manual hotswap step list, explain
what each of them does in the debug configuration section, and note that
the Vaadin plugin passes its own equivalents so nothing has to be added
by hand.
Describe where the plugin installs its bundled agent and how it launches
it, correct the description of -XX:+ClassUnloading, add explicit anchors
for the headings that are linked to, and mention the Eclipse route on the
HotswapAgent live reload page.
@Artur-
Artur- merged commit f875016 into main Aug 20, 2026
8 checks passed
@Artur-
Artur- deleted the docs/5833-eclipse-plugin-hotswap branch August 20, 2026 13:33
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.

Eclipse dev environment instructions have an outdated screenshot from Copilot

1 participant