Analog to the ObjectCompletionProvider, the new AssignmentsCompletionProvider will be pretty much the same thing, however it will rely on the AssignmentsFinder to suggest variables for users.
In the example below, target must be suggested:
{%- liquid
assign target = cart
%}
{{ tar█ }}
The editor already suggests that kind of term by default. However, if we suggest it, we may show the cart documentation for the target variable.
Analog to the
ObjectCompletionProvider
, the newAssignmentsCompletionProvider
will be pretty much the same thing, however it will rely on theAssignmentsFinder
to suggest variables for users.In the example below, target must be suggested:
The editor already suggests that kind of term by default. However, if we suggest it, we may show the
cart
documentation for the target variable.