Community

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

    Option to Add X number of spaces after a parenthesis or square bracket

    General Discussion
    2
    2
    2474
    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.
    • Juan Carlos
      Juan Carlos last edited by

      Is there an option to do something like that?
      I program a lot in Perl and I like adding spaces after opening a parenthesis or bracket and before closing it for readability.

      Ex:
      if ( $x ne $y ){
      say “BLAH”;
      }

      rather than

      if ($x ne $y){
      say “BLAH”;
      }

      Thank you

      1 Reply Last reply Reply Quote 0
      • Gogo Neatza
        Gogo Neatza last edited by

        Yes, there is such an option.
        The option is called ‘Macro’. You can find it in the Notepad++ main menu
        between ‘Tools’ and ‘Run’.
        Macro - Start Recording would be a good starting point.
        Have fun !

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors