You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
Replace the deprecated React component package with @vscode/webview-ui-toolkit/react.
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
switch to @vscode/vsce: Migration to @vscode/vsce packaging for VS Code extensions — switch to @vscode/vsce #1133
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!
Activity
github-actions commentedon Oct 13, 2025
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:
@vscode/webview-ui-toolkit/react.Upgrade React & toolchain:
package.json(e.g., to React 18).Incremental refactor & testing:
(Optional) Update packaging tooling:
@vscode/vsceas per switch to @vscode/vsce #1133 to keep your publishing pipeline current.Duplicate Issues
None found.
Labels
Other references with low confidence
@vscode/vscepackaging for VS Code extensions — switch to @vscode/vsce #1133The 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!
chagong commentedon May 27, 2026
This is fixed by #1616