Skip to content

executablePath broken #36

@josias-r

Description

@josias-r

I'm experiencing a strange issue.

I've got a multi-root workspace with three folders related to the project. One of the folders has a vscode folder specific settings.json. Inside it, I've set the phpcbf executablePath as a relative path.
This works after changing the settings and formatting the document works fine. But when I restart vscode it can't find the exePath anymore.

I've got debug enabled and while it's working, I get the resolved absolute path logged to console: [Extension Host] PHPCBF args: /Users/josias_r/git/myproject/api/vendor/bin/phpcbf. But when it's not working anymore (after restart) the relative path is not resolved anymore: [Extension Host] PHPCBF args: myproject/api/vendor/bin/phpcbf.

I've set the exePath to ./api/vendor/bin/phpcbf

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