Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 4, 2025

Users expect automation when editing POM.xml files. The extension pack had a dormant XML recommendation module that was never wired up.

Changes

  • Activated XML recommendation: Imported and initialized the existing xml.ts module in recommendation/index.ts
  • Enhanced message: Updated recommendation text to highlight schema validation, auto-completion, and formatting capabilities

Implementation

// src/recommendation/index.ts
import { initialize as initXmlRecommendation } from "./xml";

export function initialize(_context: vscode.ExtensionContext) {
  initHandler();
  initXmlRecommendation(_context);  // Now activated
}

When users open pom.xml files, they receive a one-time prompt to install RedHat's XML extension (if not already installed), which provides Maven schema validation, element/attribute completion, and formatting alongside the existing Maven extension's dependency auto-completion.

Original prompt

This section details on the original issue you should resolve

<issue_title>Brainstorm how we can provide better UX when editing POM (XML integration)</issue_title>
<issue_description>Per user feedback, user expect more automation when editing POM.xml</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits November 4, 2025 02:37
Co-authored-by: Eskibear <2351748+Eskibear@users.noreply.github.com>
Co-authored-by: Eskibear <2351748+Eskibear@users.noreply.github.com>
Copilot AI changed the title [WIP] Brainstorm ideas for better UX in POM editing Activate XML extension recommendation for POM editing Nov 4, 2025
Copilot AI requested a review from Eskibear November 4, 2025 02:48
Copilot finished work on behalf of Eskibear November 4, 2025 02:48
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.

Brainstorm how we can provide better UX when editing POM (XML integration)

2 participants