Ben Mewburn

Results 193 comments of Ben Mewburn

@xpader looking into it but there's a few challenges in that vscode/lsp does not have an api for it yet. will track this in #1249

It's working for me with absolute paths but doesn't expand `~`

Please see https://github.com/bmewburn/vscode-intelephense/issues/1063#issuecomment-2199189736 for an example on how you could add a stub function to make the extension return the correct type from the `config` call based on the argument...

They are tagged as removed in php 7.4 . https://github.com/JetBrains/phpstorm-stubs/blob/0dcae3360530cdfd5aaa3c7a54571539b5e03674/interbase/interbase.php#L138 If this is incorrect you cant submit a PR to the upstream repo. Alternatively you can copy that file remove...

stubs have since been updated

You can add `ssh2` to `intelephense.stubs` to make these available.

Thanks @rchl , I've opened https://github.com/bmewburn/vscode-intelephense/issues/1555

cant repro in 1.10. Test case added for 1.11

> Btw. $0 is the placeholder for the final cursor position according to the docs. This is as designed, otherwise you would get `test()|` > It would be nice if...

> Maybe for an intermediate state it would make sense to change it to `test($1)$0` I don't see the benefit. The only difference is that you would press tab instead...