Skip to content

feat: add ability to set IDE url template #146

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

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

butschster
Copy link
Member

@butschster butschster commented Apr 24, 2024

By default is used template for PHPStorm

The phpstorm option is supported natively by PhpStorm on macOS and Windows; Linux requires installing phpstorm-url-handler.

IDE_URL_TEMPLATE=phpstorm://open?url=file://${file}&line=${line}

If you use another editor, the expected configuration value is a URL template that contains an ${file} placeholder where the file path is expected and ${line} placeholder for the line number.

Env variable can be set into the Buggregator Docker container like this:

buggregator-server:
  ...
  environment:
    IDE_URL_TEMPLATE: phpstorm://open?url=file://${file}&line=${line}

@butschster butschster added this to the 1.0 milestone Apr 24, 2024
@butschster butschster requested a review from roxblnfk April 24, 2024 14:00
@butschster butschster self-assigned this Apr 24, 2024
@butschster butschster linked an issue Apr 24, 2024 that may be closed by this pull request
@butschster butschster merged commit f53e1b1 into master Apr 24, 2024
@butschster butschster deleted the feature/ide-url-template branch April 24, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[FEATURE] Open link in IDE
1 participant