Community
    • Login

    Delimiter Settings (Ctrl + Double Click) to include more brackets

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.3k Views 1 Watching
    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.
    • ijoel92I Offline
      ijoel92
      last edited by

      Hi all,

      First post here! And quite noob with customizing notepad++. I’m open to guidance!

      I’ve just found the very useful option to select inside parentheses holding Ctrl + Double Click. But it only accepts one starting character and one ending character.

      These parenthesis can be modified for other characters in Settings -> Preferences -> Delimiter.

      I think it would be useful if we could use multiple brackets i.e. [{()}] and even single and double quotes (if we like). It will be useful for many languages.

      How can we add this functionality? I can’t seem to find anything related, if there is another post, please point me in the other direction. If not, how would we go and change this?

      PS: I don’t know if this should be in this same thread but along with this double click feature, it would be useful to extend/shrink this selection with keyboard shortcuts like shown in this link https://ihatetomatoes.net/vscode-tips-select-everything-between-brackets-quotes/ (smart selection in VSCode)

      astrosofistaA 1 Reply Last reply Reply Quote 0
      • astrosofistaA Offline
        astrosofista @ijoel92
        last edited by astrosofista

        Hi @ijoel92

        Not natively. But there is a Python script that I think does what you want.

        See details in this and subsequent posts.

        If you want to try the script, here are some instructions to install it:

        Have fun!

        1 Reply Last reply Reply Quote 2

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors