-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completion Issues #32
Comments
I see it does support livewire but there is no completion of php code when in @php directive and {{}} (blade echo). For eg: @php
{{--There is no completion here for php code.--}}
@enphp
<p data={{somevariable}}>Hello</p> -> there is no completion for somevariable even if somevariable was passed to the view |
I have looked at it but for this issue:
There is no help |
Ahh I see @frugene. The completion is for components only. |
Oo ok. But do you have any idea how to get those autocomplete. |
I do not know, may be phpactor... |
@RicardoRamirezR Possibly related, after installing this plugin Intelephense autocompletion stopped working. Not just in Blade files, but in pure PHP files as well. I'm assuming this is because I have My guess is that this has something to do with the Were it not for Laravel Folio and Livewire Volt, I could probably work around this by setting Thanks for all your work on this. |
It completely breaks Intelephense autocompletion in both Blade and PHP files, for reasons I don't quite understand. There is a possibly-related issue on the repository [1]. [1]: RicardoRamirezR/blade-nav.nvim#32 (comment)
It breaks Intelephense autocompletion, which is a non-starter. See [this issue][1] for details. [1]: RicardoRamirezR/blade-nav.nvim#32 (comment)
Hey @monooso, can you provide a minimal file to reproduce the issue. I do have Intelephense and works on my side |
Hi @RicardoRamirezR, sorry for the slow response. I'm wrapping up a project today, so it's been a little hectic. I'll take another look at this next week. |
@RicardoRamirezR I've managed to identify when the issue occurs, using a minimal As far as I can tell, this mostly boils down to filetypes. Using the default Intelephense configBy default Neovim correctly identifies a file with the extension In this scenario:
Manually setting the filetype to
Using a custom Intelephense configAt this point, I figured the solution was to tell In this scenario, when the filetype is
And when the filetype is
So, in conclusion, But how?As all of the above points to an Footnotes
|
There are no completion of php code when in @php directive and {{}}.
Does this support livewire?
Can there be an implementation?
Is there already a plugin for above issues?
BUG: I don't know if it really is a bug or not but when a completion is provided by blade-nav, there are two entries of the suggestion.
The text was updated successfully, but these errors were encountered: