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
We have some small pending tasks related to the Bindings API.
Make sure that any Bindings internal context/data is updated whenever a new file is added.
@OmarTawfik: assuming this has a perf impact, our latest v1 design can also make sure all files are loaded first THEN create Bindings once and for all, so we don't need to recalculate this multiple times.
@OmarTawfik: my 2c: I suggest resolve_definition() or get_definition(), as it is a function of the reference, which the user already has/already resolved. What is yet to be resolved/retrieved is the definition.
Cache pre-parsed bindings rules and built-ins per language version
(Output graph files to target directory and improve Graphviz output #1167) Output Mermaid and/or Graphviz .dot generated files under the target directory (rationale: they're only generated locally and for debugging purpose and are not tracked by Git, which may cause compilation failures when switching branches)
@OmarTawfik: assuming they have a perf impact on test execution, I suggest only generating them if a certain env variable was set, so that they don't affect us in 99% of the times the tests run...
Add a few tests to make sure bindings are still calculated successfully in the presence of syntax errors/partial input.
The text was updated successfully, but these errors were encountered:
We have some small pending tasks related to the Bindings API.
Bindings
internal context/data is updated whenever a new file is added.lookup_definition_by_name
to the test modulesjump_to_definition
toresolve_definition
(orresolve_reference
?)resolve_definition()
orget_definition()
, as it is a function of the reference, which the user already has/already resolved. What is yet to be resolved/retrieved is the definition.target
directory and improve Graphviz output #1167) Output Mermaid and/or Graphviz .dot generated files under the target directory (rationale: they're only generated locally and for debugging purpose and are not tracked by Git, which may cause compilation failures when switching branches)The text was updated successfully, but these errors were encountered: