vscode-phpactor
vscode-phpactor copied to clipboard
Phpactor Language Server must be initialized with a root URI, NULL provided
Not sure what I'm missing here.
Does this happen if you open a folder? Does it always happen? Which version of VS code
I just create New Text file with Cmd + N and Change it's mode to PHP
VSCode 1.89
Phactor needs a project root, try opening the folder where you want to create the file
Thank you. It is working now, opening a folder with an existing PHP file.
May I ask. How to make Phpactor gain priority over the basic suggestions?
I'd like to see bar() and qux() as the first suggestions, for example.
I mean:
If I disable php.suggest.basic I can see only Phpactor suggestions, then it looks nice:
But then I don't have completions of basic function likes the
array_* functions.
IIRC you need to disable VS code's default PHP integration, there will be a setting for it somewhere....
IIRC you need to disable VS code's default PHP integration, there will be a setting for it somewhere....
Yeah, I can set php.suggest.basic to false, but when I do this, global functions like array_map, for example, isn't suggested... They should come up from Phpactor?
They should...