Thanh Trần

Results 10 comments of Thanh Trần

> hi, can you provide some more context? where exactly does this occur? (works for me just entering chars in the editor) https://user-images.githubusercontent.com/42226341/168568778-c4ef92c2-e08d-4f8a-8ee4-3f273759c908.mp4 ``` [Error - 5:00:07 pm] Request textDocument/completion...

Looks like the error is not in vietnamese characters, my text input will go from `af` to `�` and change to `à` ![image](https://user-images.githubusercontent.com/42226341/168608548-932adf70-2ee8-4a98-990e-508f3315dd32.png) [debug.log](https://github.com/phpactor/phpactor/files/8700617/debug.log)

> hm, i can also open that file (renamed to a PHP file) and edit it without errors This is actually an invalid input: ![image](https://user-images.githubusercontent.com/42226341/168717093-877928c4-b5c0-41d7-8928-077a5dbfa21d.png)

> ok thanks, can reproduce. i guess all we can do is provide a better error? ^_^ Do you think `ServerCapabilities.PositionEncoding=utf-8` can solve this problem? https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#serverCapabilities

@vlada-dudr try `@method static void bla()`

> Well, that results in, as expected, Phpactor picking up static method on class h. But I want to describe instance method returning `static` type i.e. the class bla() was...

> I think it used to work some time ago. Maybe addition of virtual static methods did break parsing of static type? Because when I add `@method static bla()` I...

> @ging-dev your Psalm example is not what I mean. `@method` annotations seem to work on that page only if you tick a "Use PHPDoc methods and properties without magic...

> The linked PR only affects the new `--experimental-backends`. > > What exactly is incorrectly blurred and what is blurred correctly in your screenshot? Can you please post the output...

> > @valkenburg-prevue-ch Works like a charm, thanks! I'm using streamlit with Langchain and was running into this error due to Langchain spinning up various threads. Instead of having to...