playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] UI mode - Settings for Open different code editor

Open shinijimmy3 opened this issue 1 year ago • 2 comments

Currently there is an Open in VS Code button in UI mode. While I like VS Code, due to the nature of Playwright and its capability of writing tests in different languages there are plenty of other IDEs to use.

In a corporate environment, sometimes there is no choice of IDE. Therefore, the capability to specify the path to your IDE would be excellent.

shinijimmy3 avatar Apr 03 '23 12:04 shinijimmy3

If no one is working on this, could I get this assigned to me?

mattbho avatar Apr 06 '23 17:04 mattbho

an environment variable could store the path to the IDE, ex:

CODE_EDITOR='myide://open?url=file://%%f&line=%%l'
# or when playwright is used in a container
CODE_EDITOR='myide://%%f:%%l&/path/to/guest/>/path/to/host/.'

phcorp avatar Feb 07 '24 15:02 phcorp