Skip to content

vscode-java-pack framework modernization #1507

Closed

Description

Java Pack extension is using deprecated vscode react component package, we need to use some alternatives, that may require react upgrade, this might be a big work for the refactor and testing for all the webview pages in the extension.

Activity

  1. github-actions commented on Oct 13, 2025

    @github-actions

    Hi Changyong Gong (@chagong), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

    Suggested Migration Steps

    • Adopt the official VS Code Webview UI Toolkit for React:

    • Upgrade React & toolchain:

      • Bump React/React-DOM version in package.json (e.g., to React 18).
      • Update your webpack (or other bundler) config to handle the new React version and JSX transforms.
    • Incremental refactor & testing:

      • Pick one webview page as a pilot, migrate it fully and cover with tests.
      • Roll out the same pattern to all other webviews for consistency.
    • (Optional) Update packaging tooling:

      • If you plan a broader modernization, consider upgrading to @vscode/vsce as per switch to @vscode/vsce #1133 to keep your publishing pipeline current.

    Duplicate Issues

    None found.

    Labels

    • enhancement
    Other references with low confidence

    The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

  2. chagong commented on May 27, 2026

    @chagong
    ContributorAuthor

    This is fixed by #1616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions