Community
    • Login

    What is the purpose of the INDENT GUIDE

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 3.3k 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.
    • FDWojoF
      FDWojo
      last edited by

      I regularly use “Show All Characters” many times in my job. And of course, when doing so, I can see where the tabs are and how they are aligned. But there’s this other option “Show Indent Guide”. What does this do? It keeps turning itself on when I start NPP and maybe it’s helpful? But for the life of me, I cannot figure what it does? I can toggle it via the toolbar button or the VIEW -> SHOW SYMBOLS -> Show Indent Guide, but either way, nothihng visually changes whatsoever. Please understand that I’m not asking if I should use it or not. Rather, I’m just wondering: What does it do? What purpose does it serve?

      FDWojo

      P.S. I’ve used the SEARCH feature on the forum which only talks about enabling/disabling it. Google Searches, seems to do the same.

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil @FDWojo
        last edited by dinkumoil

        @FDWojo

        Indent guides are vertical dotted lines that indicate the indent level of text in the edit window of Notepad++ (I’ve marked them with red arrows in the screenshot below):

        e8c08ef6-4e4d-4ada-b9e1-1e685a8f4544-grafik.png

        Though they also show up in normal text files, they are most useful when displaying/editing source code of programs because they are “guiding” a programmer’s eyes from the statement opening a block of commands to the statement closing this block:

        1e2f45a2-07c5-4368-949a-6625a0f75e83-grafik.png

        As you can see in the screenshot above, I configured the color of indent guides to be red. This can be done in the Style Configurator dialog (navigate to (menu) Settings -> Style Configurator):

        3db9da8a-4da6-4b0d-a025-41c89b9a574c-grafik.png

        When clicking the grey rectangle with the red circle around it from the screenshot above, you are able to configure the color of indent guide lines. In your installation they are most likely configured to be white (i.e. the same color as the background color), that’s the reason why they are invisible though (menu) View -> Show Symbol -> Show Indent Guide is checked.

        FDWojoF 1 Reply Last reply Reply Quote 3
        • FDWojoF
          FDWojo @dinkumoil
          last edited by

          @dinkumoil

          Thank your for the quick reply. I do recall seeing those vertical lines before, but I had thought that they were simply shown/not shown based on whether or not SHOW ALL CHARACTERS was turned on.

          And, since I’m not a programmer, they are unnecessary for me.

          Thanks again!

          Lycan ThropeL 1 Reply Last reply Reply Quote 0
          • Lycan ThropeL
            Lycan Thrope @FDWojo
            last edited by Lycan Thrope

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