Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    2 貼文 2 Posters 1.1k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • ijoel92I
      ijoel92
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • astrosofistaA
        astrosofista @ijoel92
        最後由 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 條回覆 最後回覆 回覆 引用 2
        • 第一個貼文
          最後的貼文
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors