Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7731

[SWF Editor] LS auto-completion for full functionRef object does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Kogito Tooling 0.22.0
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide

       

      Show
       
    • Hide

       

      Show
       
    • ---
    • ---
    • 2022 Week 32-34 (from Aug 8)

      Some changes broke auto-completion for the full functionRef object:
       "functionRef": 🎯

      This test is passing when running against `0.21.1` tag (our latest release atm) but fails on `main` branch.

      Cause: After 0.21.1 the use of jsonc.getLocation() has been removed in favour of matchNodeWithLocation() that uses findNodesAtLocation(), and it's based on the AST.
      jsonc.getLocation() scans the file's text, not the AST, but is not compatible with YAML.

              fabrizio.antonangeli Fabrizio Antonangeli
              fabrizio.antonangeli Fabrizio Antonangeli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: