Skip to content

Conversation

@joshbmarshall
Copy link
Contributor

What was changed

A vscode-specific link to open the file in the editor was added

Why?

vscode uses a different format to phpstorm for the link to the file, for vscode:// links

Checklist

** Untested as I can't get the local development working on my computer, but I'm 99% sure it's good!

Copy link

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 VSCode-specific link formatting for opening files in the editor. VSCode uses a different URL scheme (vscode://file/path:line) compared to other editors like PHPStorm which use query parameters.

Key Changes

  • Added conditional logic to detect when VSCode is the configured editor and generate the appropriate URL format

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

return ''
}

if (codeEditor.value == 'vscode') {
Copy link

Copilot AI Dec 26, 2025

Choose a reason for hiding this comment

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

Use strict equality operator (===) instead of loose equality (==) for comparison. TypeScript/JavaScript best practices recommend using === to avoid unexpected type coercion issues.

Suggested change
if (codeEditor.value == 'vscode') {
if (codeEditor.value === 'vscode') {

Copilot uses AI. Check for mistakes.
@butschster butschster merged commit 5a0bebe into buggregator:master Dec 26, 2025
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants