Skip to content

fix: implement lsp tools for stable#1014

Merged
wenytang-ms merged 2 commits into
mainfrom
fix/lsppre
May 18, 2026
Merged

fix: implement lsp tools for stable#1014
wenytang-ms merged 2 commits into
mainfrom
fix/lsppre

Conversation

@wenytang-ms
Copy link
Copy Markdown
Contributor

@wenytang-ms wenytang-ms commented May 18, 2026

  1. enable lsp tools for stable
  2. add more telemetry data

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables the Java LSP-backed language model tools on stable builds and adds telemetry around tool registration and tool invocation outcomes.

Changes:

  • Removes the prerelease-only gate for registering Java LSP tools.
  • Adds telemetry for registration checks, response sizes, result counts, empty reasons, and normalized error codes.
  • Keeps registration conditional on Java LS readiness and the enableLspTools setting.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/extension.ts Enables stable-build registration flow and records registration-check telemetry.
src/copilot/tools/javaContextTools.ts Adds helper telemetry metadata and enriches telemetry for file structure and symbol search tools.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wenytang-ms wenytang-ms merged commit 36c094a into main May 18, 2026
10 checks passed
@wenytang-ms wenytang-ms deleted the fix/lsppre branch May 18, 2026 05:39
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.

3 participants