• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 953 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.
  • I
    ijoel92
    last edited by Feb 18, 2021, 9:43 PM

    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)

    A 1 Reply Last reply Feb 19, 2021, 1:02 AM Reply Quote 0
    • A
      astrosofista @ijoel92
      last edited by astrosofista Feb 19, 2021, 1:03 AM Feb 19, 2021, 1:02 AM

      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
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors