browser icon indicating copy to clipboard operation
browser copied to clipboard

Add hyperlinks

Open aaa2000 opened this issue 10 months ago • 0 comments

Turns file paths seen in Saved Source Files into links that open those files right inside your browser

Enable the Zenstruck\Browser\Test\BrowserExtension extension . Configure the file link format with the environment variable BROWSER_FILE_LINK_FORMAT, the default value is file://%f#L%l

Can be overloaded in the phpunit.xml.dist for example

<server name="BROWSER_FILE_LINK_FORMAT" value="'file://%f#L%l"/>

Useful when running your app in a container or in a virtual machine, see Symfony doc https://symfony.com/doc/current/reference/configuration/framework.html#ide

aaa2000 avatar Feb 13 '25 21:02 aaa2000