Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 16, 2025

This PR adds a new "Report Issue" command to the TypeScript Native Preview status bar menu to encourage users to report language server issues more easily.

Changes

When users click on the $(beaker) tsgo status bar item, they now see a new "Report Issue" option in the quick pick menu:

  • 🔄 Restart Server
  • 📄 Show TS Server Log
  • 🐛 Show LSP Messages
  • 📋 Report Issue ← NEW
  • ⛔ Disable TypeScript Native Preview

Selecting "Report Issue" opens VS Code's built-in issue reporter with the TypeScript Native Preview extension pre-selected, making it easier for users to provide feedback and report problems.

Implementation

  • Added typescript.native-preview.reportIssue command that calls workbench.action.openIssueReporter with the extension ID
  • Command is only enabled when the language server is running
  • Uses the $(report) icon for visual consistency with VS Code's UI patterns

This follows the same pattern used by other VS Code extensions to streamline the issue reporting process.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add report issue button to TSGO status bar commands</issue_title>
<issue_description>Let's see if we can encourage more LS issue reporting by adding a new Report issue item here:

Image

This could open up the normal VS Code issue reporter with tsgo pre-selected </issue_description>

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

Fixes #1888


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 2 commits October 16, 2025 21:18
Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
Copilot AI changed the title [WIP] Add report issue button to TSGO status bar commands Add "Report Issue" button to TSGO status bar commands Oct 16, 2025
Copilot finished work on behalf of DanielRosenwasser October 16, 2025 21:23
@DanielRosenwasser DanielRosenwasser marked this pull request as ready for review October 16, 2025 22:06
Copilot AI review requested due to automatic review settings October 16, 2025 22:06
Copy link
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 adds a "Report Issue" command to the TypeScript Native Preview extension's status bar menu to streamline issue reporting for language server problems.

Key Changes:

  • Added new typescript.native-preview.reportIssue command that opens VS Code's issue reporter with the extension pre-selected
  • Integrated the command into the status bar quick pick menu with appropriate icon and description
  • Command is only enabled when the language server is running

Reviewed Changes

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

File Description
_extension/src/commands.ts Implemented the reportIssue command handler and added menu item to status bar quick pick
_extension/package.json Registered the command in package.json with proper enablement condition

@andrewbranch andrewbranch added this pull request to the merge queue Oct 17, 2025
Merged via the queue into main with commit 5207eb8 Oct 17, 2025
22 checks passed
@andrewbranch andrewbranch deleted the copilot/add-report-issue-button branch October 17, 2025 20:22
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.

Add report issue button to TSGO status bar commands

4 participants