Community
    • Login

    Is there a way to better distinguish between parentheses and braces?

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 4 Posters 262 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1der1
      last edited by

      Most programming languages use a lot of parentheses and curly braces.

      Unfortunately, these look similar, mainly if you use a small font.

      Is there a way to make them more different?

      One way would be to allow different Notepad++ styles (including highlighting colour) for each type.

      Thank you for considering,

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @1der1
        last edited by

        @1der1

        I have never had trouble distinguishing parentheses and curly braces.
        Just how small of a font (and which font) are we talking about here?

        1 1 Reply Last reply Reply Quote 0
        • 1
          1der1 @Alan Kilborn
          last edited by

          @Alan-Kilborn, my screen resolution is 3840 x 2160. That means a lot of screen space, but the fonts look small.

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @1der1
            last edited by

            @1der1

            Most, if not all, programming languages unfortunately use the same styles for the different brackets.
            There is a plugin called EnhanceAnyLexer, of which I am the developer, that allows you to change the color afterwards using regular expressions. I am working on how to change individual styles as well, but unfortunately there are some obstacles that I have not yet been able to overcome. At least not without introducing noticeably worse performance.

            1 Reply Last reply Reply Quote 3
            • NicholasN
              Nicholas
              last edited by

              Monoid is a customisable open source font designed for writing code in. https://larsenwork.com/monoid/

              There are other fonts out there as well if you search the web.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors