Describe the bug
When I want to use a code action normally aka I am on the word it does not work, however when I go the first character of what I'm trying to use the code action on it works fine
To Reproduce
Two easy ways to reproduce this: (Probably tied to Helix and/or other modal text editors)
In a class, use something that is not imported yet, the LSP will correctly underline it and now go to the middle of the class and query code actions (Helix: In normal mode Space + A) and it will show the "No code actions available" message, when you over go the first character of the class and repeat the code action querying this will work as expected (see screenshots)
When adding "implements ....Interface" to a class and it suggests you to add the required methods it will not show the code actions until I go go the first character of the line which is the c of class (or whatever comes first the f of final class for instance)
Expected behavior
I get code actions no matter where inside the underlined part I am
Screenshots
Middle of the not imported class name:
First character:
On the interface
First character again
Platform and version
Linux / NixOS unstable
Intelephense v1.10.4
Describe the bug When I want to use a code action normally aka I am on the word it does not work, however when I go the first character of what I'm trying to use the code action on it works fine
To Reproduce Two easy ways to reproduce this: (Probably tied to Helix and/or other modal text editors)
Expected behavior I get code actions no matter where inside the underlined part I am
Screenshots Middle of the not imported class name:![image](https://github.com/bmewburn/vscode-intelephense/assets/674705/07ca725d-45f5-420c-8d18-180436de2391)
First character:![image](https://github.com/bmewburn/vscode-intelephense/assets/674705/0a05bd84-afe6-41f8-a325-558537e63ab4)
On the interface![image](https://github.com/bmewburn/vscode-intelephense/assets/674705/fac05c5f-511e-4112-a523-7f31eb1295db)
First character again![image](https://github.com/bmewburn/vscode-intelephense/assets/674705/a216e583-0529-445c-8b5a-12f45434fab3)
Platform and version Linux / NixOS unstable Intelephense v1.10.4