-
Notifications
You must be signed in to change notification settings - Fork 620
Open created issues in editor instead of browser #7046
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Open issue
in editor after creating new issue
src/lm/participantsPrompt.tsx
Outdated
@@ -3,7 +3,7 @@ | |||
* Licensed under the MIT License. See License.txt in the project root for license information. | |||
*--------------------------------------------------------------------------------------------*/ | |||
|
|||
import { AssistantMessage, BasePromptElementProps, PromptElement, UserMessage } from "@vscode/prompt-tsx"; | |||
import { AssistantMessage, BasePromptElementProps, PromptElement, UserMessage } from '@vscode/prompt-tsx'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot, this change isn't related to fixing the issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot, undo the changes to participantsPrompt.tsx
@copilot, undo the changes to participantsPrompt.tsx |
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
When creating a new issue through the GHPRI extension, users receive a notification with "Copy Issue Link" and "Open Issue" buttons. Previously, clicking "Open Issue" would open the issue in the browser, but since VS Code can now display issues directly in the editor, this should provide a more integrated experience.
Changes Made
IssueOverviewPanel.createOrShow()
instead of opening it externally in the browserIssueOverviewPanel
import toissueFeatureRegistrar.ts
folderManager
parameterUser Experience
The change follows the same pattern used elsewhere in the codebase for opening issues in the editor and maintains all existing functionality while providing a better integrated experience.
Fixes #7034.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.