Skip to content
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

[FEATURE] Open link in IDE #98

Closed
gander opened this issue Dec 5, 2023 · 2 comments · Fixed by buggregator/server#146
Closed

[FEATURE] Open link in IDE #98

gander opened this issue Dec 5, 2023 · 2 comments · Fixed by buggregator/server#146
Labels
enhancement New feature or request for contributors Extra attention is needed module:events
Milestone

Comments

@gander
Copy link

gander commented Dec 5, 2023

Provide support to allow opening file location like in Symfony Profiler for:

  • phpstorm
  • sublime
  • textmate
  • macvim
  • emacs
  • atom
  • vscode
@butschster butschster self-assigned this Dec 5, 2023
@butschster butschster added the enhancement New feature or request label Dec 5, 2023
@butschster butschster added this to the 1.0 milestone Dec 5, 2023
@butschster butschster assigned Kreezag and unassigned butschster Apr 24, 2024
@butschster
Copy link
Member

Hi @Kreezag
I've added a new option to set the API endpoint. Here's what the updated Settings API response looks like:

{
    "auth": {
      "enabled": false,
      "login_url": "/login"
    },
    "ide": {
      "url_template": "phpstorm://open?url=file://${file}&line=${line}"
    },
    "version":"'0.0.0"
}

The ide.url_template contains a template where you need to replace ${file} with the actual file path and ${line} with the line number.

It would be great to create a component for such cases, where users can click on a file path and it will open in the IDE as specified. This could streamline development workflows significantly.

Here is an example what can be replaced
image

@Kreezag
Copy link
Member

Kreezag commented Jul 7, 2024

Feature was added in #186 and released in https://github.com/buggregator/frontend/releases/tag/1.21.1

@Kreezag Kreezag closed this as completed Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request for contributors Extra attention is needed module:events
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants