vscode-phpsab icon indicating copy to clipboard operation
vscode-phpsab copied to clipboard

Single File Error

Open jacobcassidy opened this issue 9 months ago • 5 comments

When opening a single PHP file in VSCode, running the PHPCBF: Fix this file command results in the following error: command 'fixer.fix' not found. The linter (phpcs) also does not work on single files. The following is logged in the output panel:

2024-05-11 21:09:27.667 [error] [valeryanm.vscode-phpsab] provider FAILED
2024-05-11 21:09:27.667 [error] undefined

All works as intended when adding a folder with the file in it to VSCode.

Is this the intended behavior, or is there a bug when not using project folders?

jacobcassidy avatar May 11 '24 14:05 jacobcassidy