Closed gander closed 2 months ago
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
Feature was added in https://github.com/buggregator/frontend/pull/186 and released in https://github.com/buggregator/frontend/releases/tag/1.21.1
Provide support to allow opening file location like in Symfony Profiler for:
phpstorm
sublime
textmate
macvim
emacs
atom
vscode