Skip to content

New Variable - xDebug Style Link #1

@shoulders

Description

@shoulders

The Request

Have a variable that prebuilds the correct link so this can be added to the export but via the easy medium of an extension variable.

When exporting and this, used in a CSV file, I could then click on the relevant link and be taken straight to that part in the file when using excel or other spreadsheet software.

I am sure I could use the other variables to build this, but having this as a single variable makes building the template much more logical when needing this feature.

Thanks for looking.

Example xDebug Error (to show where the link syntax comes from)

Image
  • The link: vscode://file/D:\websites\htdocs\projects\qwcrm\src\index.php:14
  • VSCode link setting in php.ini for xDebug: xdebug.file_link_format = "vscode://file/%f:%l"
  • xDebug IDE Links stack traces and errors: https://xdebug.org/docs/all_settings#file_link_format
    • NB: VSCode is not listed but I use the code above just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions