Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Everything showing in one column

    Help wanted · · · – – – · · ·
    3
    3
    57
    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.
    • Ryano
      Ryano last edited by

      Is there anyway I can have things show up in one column without manually changing everything?
      For example, here is a file I’m editing.
      d8f25dea-23dc-402e-b96d-7ee25be0de64-image.png
      Now how would I make them all show up like this automatically?
      7017cb44-df52-4ed9-aa89-bf57835c492e-image.png

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Michael Vincent
        Michael Vincent last edited by

        @ryano said in Everything showing in one column:

        Is there anyway I can have things show up in one column without manually changing everything?

        There is a plugin called “Code Alignment” that can be installed from the Plugins => Plugin Admin menu that will do exactly this - not automatically, you’ll need to highlight the selection and tell it to align code by what character you want - in this case, the = .

        Cheers.

        1 Reply Last reply Reply Quote 3
        • Alan Kilborn
          Alan Kilborn @Ryano last edited by

          @ryano

          On a one time basis, you could do this.

          Take some data (since, pet peeve, you didn’t provide anything textually) that I made up:

          aaaaaaaaaaa=bbbbbbbbbbbbbbbb
          aaaaaaaaaaaaaaaa=bbbbbbbbb
          aaaa=bbbbbbbb
          aaaaaaaaaaaaaaaa=bbbbbbb
          a=b
          

          Replace = with = plus a “good quantity” of spaces to get:

          aaaaaaaaaaa=                          bbbbbbbbbbbbbbbb
          aaaaaaaaaaaaaaaa=                          bbbbbbbbb
          aaaa=                          bbbbbbbb
          aaaaaaaaaaaaaaaa=                          bbbbbbb
          a=                          b
          

          Make a column selection (using Ctrl+Shift+arrows) like this:

          7f7d1e4f-3710-4d7d-9ad8-a1e618b03b17-image.png

          Press Ctrl+Delete to obtain:

          aaaaaaaaaaa=         bbbbbbbbbbbbbbbb
          aaaaaaaaaaaaaaaa=    bbbbbbbbb
          aaaa=                bbbbbbbb
          aaaaaaaaaaaaaaaa=    bbbbbbb
          a=                   b
          
          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors