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

support for queries inside parenthesis

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 0.0.0
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Iteration Light Year
    • Not Needed
    • Developer Tools

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      The query parser should support situations when a query is wrapper around parenthesis.

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      How could an engineer replicate the issue you're reporting?

      .find((Filters.eq(...)))
      

      Expected Results

      What do you expect to happen?

      The query should be parsed properly.

      Actual Results

      What do you observe is happening?

      The query is not parsed, so linters won't work.

      Additional Notes

      Any additional information that may be useful to include.

      Seems that IntelliJ builds a PSI subtree when there are parenthesis, we should detect them and treat them properly.

            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: