• Login
Community
  • Login

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

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 288 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 Nov 5, 2024, 11:06 PM

    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,

    A 1 Reply Last reply Nov 6, 2024, 12:26 AM Reply Quote 0
    • A
      Alan Kilborn @1der1
      last edited by Nov 6, 2024, 12:26 AM

      @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 Nov 6, 2024, 12:44 AM Reply Quote 0
      • 1
        1der1 @Alan Kilborn
        last edited by Nov 6, 2024, 12:44 AM

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

        E 1 Reply Last reply Nov 6, 2024, 8:36 AM Reply Quote 0
        • E
          Ekopalypse @1der1
          last edited by Nov 6, 2024, 8:36 AM

          @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
          • N
            Nicholas
            last edited by Nov 10, 2024, 10:35 PM

            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
            4 out of 5
            • First post
              4/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors