paren highlighting is unreadable with solarized light theme

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.5.2
    • Component/s: None
    • Environment:
      OS: MacOS 15.4
      node.js / npm versions:
      Additional info:
      mongosh version 2.5.2
      iTerm2 version 3.5
    • None
    • Developer Tools

      Problem Statement/Rationale

      Mongosh is highlighting matching parens by changing the background colour to a dark blue. My text foreground colour in the solarized light theme is a dark grey-blue. The contrast between the two colours is very low, and I can't see what character is being highlighted. It's also hard to tell which character is under the cursor when I'm typing a paren-heavy expression, because the cursor has a dark background as well. It looks like the cursor is jumping around when I move the cursor back and forth over parens.

      I would prefer that the matching paren be highlighted in some other way, for example by changing it to bold or changing the foreground colour. I would find that more readable and less confusing.

      Another option would be to make this configurable.

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

      Steps to Reproduce

      Install iTerm2

      Add the Solarized Light theme and switch to it

      Open the Mongosh shell

      Type an expression with multiple parens and braces

      Move the cursor over some of the parens and braces

      Expected Results

      I would like to be able to see the character that is highlighted by the paren match, and to distinguish it from the character under the cursor

      Actual Results

      It's hard to see the character, and to tell whether it is under the cursor or not

      Additional Notes

      Any additional information that may be useful to include.

              Assignee:
              Unassigned
              Reporter:
              Jason McLaren
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: