You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this plugin already has some completions, is there a way of adding model completions?
There are couple of limitations though.
getting the relevant model (possibly through lsp hover and then getting model info?)
cmp context only contains the current line, we would need something for multiline completion, for example:
User::create([
'field' => '...'
]);
will not complete properly with the cmp context
The text was updated successfully, but these errors were encountered:
Of course I have thought about it but is not that simple, For a given model the plugin knows how to retrieve the fields, if the db is connected, but it's hard to get the right context, needs to be done with the lsp it needs to se at the completion level when to trigger.
Since this plugin already has some completions, is there a way of adding model completions?
There are couple of limitations though.
User::create([
'field' => '...'
]);
will not complete properly with the cmp context
The text was updated successfully, but these errors were encountered: