odoo-lsp icon indicating copy to clipboard operation
odoo-lsp copied to clipboard

Support free bindings for `t-call`

Open Desdaemon opened this issue 1 year ago • 0 comments

When using t-call, a lot of bindings are assumed to be either from the template context, or supplied by callees. However, as a callee, it is impossible to know and remember all the possible bindings that have special meaning in the original templates.

A solution would be to collect all free bindings, i.e. identifiers used without a matching t-as or t-set definition, and allow completion/jumpdefs/references/etc.

Desdaemon avatar Apr 30 '24 04:04 Desdaemon