Uploaded image for project: 'MongoDB for IntelliJ Plugin'
  1. MongoDB for IntelliJ Plugin
  2. INTELLIJ-122

simplify psi parsing and mql parsing using combinators

    • Type: Icon: Investigation Investigation
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Iteration Ozone, Iteration Planetarium
    • Not Needed
    • Hide

      It seems that, while there are some technical improvements when using parser combinators, there are some race conditions in the PsiElement tree that freeze the UI and we don't have control of. Likely, due to using coroutines and parallelising work.

      Show
      It seems that, while there are some technical improvements when using parser combinators, there are some race conditions in the PsiElement tree that freeze the UI and we don't have control of. Likely, due to using coroutines and parallelising work.
    • Developer Tools

      We have a lot of reusable code across parsers, as they depend on PsiElements. We could make our parsers more reliable by using parser combinators over PsiElements, and then reuse those combinators across dialects.

      This pattern could also be used for MQL parsing, when we need to find field names, or specific patterns (for indexing for example) in the future.

            Assignee:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: