Community
    • Login

    Perl sigils: select sigils as part of variable with Double Click and Shift+Left/Right Arrows

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 857 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.
    • gapsfG
      gapsf
      last edited by

      Let consider Perl code like:
      $var_name = 5;
      @var_name =(1, 5);
      %var_name = (a => 5);
      $coderef = &var_name;

      As for now when I double click on ‘var_name’ NPP selects ‘var_name’ part of line only, but not $@%& symbols.

      If I try to select ‘var_name’ by pressing ‘Shift+ Left Arrow’ when cursor at the end (or just after) of the ‘var_name’ NPP also selects
      only part of the string without $@%& symbols.

      Is it possible to configure NPP to select $@%& symbols as a part of the identifier (word) for specific languages, not globally?

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • AZJIO AZJIOA
        AZJIO AZJIO
        last edited by

        And why separately? Are they interfering?

        1 Reply Last reply Reply Quote 0
        • Scott SumnerS
          Scott Sumner @gapsf
          last edited by

          @gapsf

          Where you say “Shift+Arrow” don’t you mean “Shift+Ctrl+Arrow”?

          Maybe the following will help you:

          Invoke Settings menu and choose Preferences…, then:

          Imgur

          In the screenshot I only added $…add others as you like.

          gapsfG 1 Reply Last reply Reply Quote 4
          • gapsfG
            gapsf @Scott Sumner
            last edited by

            @Scott-Sumner
            Yep, “Shift+Ctrl+Arrow”.
            Your advice helped.

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