Ben Mewburn

Results 193 comments of Ben Mewburn

As well as the workarounds described in this thread it is possible now to write some stubs using `@template` format in intelephense 1.9+ and add them to your workspace. for...

Please add a code example, I don't understand the issue. Below worked for me. ![Screenshot from 2024-02-17 18-05-52](https://github.com/bmewburn/vscode-intelephense/assets/5885195/776564cb-61e9-4605-8f28-c14579b90995)

This is currently not supported.

Does go to declaration resolve this? ![go_to_declaration](https://user-images.githubusercontent.com/5885195/112807186-5ab89200-90c3-11eb-8626-c817fc46d41a.gif)

Sounds like type/method hierarchy support. I don't think this has been specified in the Language Server Protocol yet. There's an issue tracking it here https://github.com/microsoft/language-server-protocol/issues/136 .

Nice idea. Which lines would get wrapped in try? Just the call that throws? The current cursor selection?

Having trouble reproducing this issue. It's working for me.

@onetrev might the files be larger than the max file size setting? `intelephense.files.maxSize`

Workaround for now is to declare it beforehand `for ($i = 10, $o = 0; $i > 0; $i-= $o)`