Community
    • 登入

    Cannot auto insert another parentheses couple if another parentheses are already opened after update

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

      After updating npp ive been struggling while developing. whenever i try to open a new bracket inside an already opened couple, it only opens bracket and completes with the bracket of the first one.
      shit english but here is a gif

      1 條回覆 最後回覆 回覆 引用 0
      • chcgC
        chcg
        最後由 編輯

        Which programming language are you using and could you add your debug infomations regarding n++ version and installed plugins.

        1 條回覆 最後回覆 回覆 引用 0
        • Michel DaoudM
          Michel Daoud
          最後由 編輯

          I am using javascript.

          Notepad++ v7.3.2 (64-bit)
          Build time : Feb 12 2017 - 23:17:55
          Path : C:\Program Files\Notepad++\notepad++.exe
          Admin mode : OFF
          Local Conf mode : OFF
          OS : Windows 10 (64-bit)
          Plugins : mimeTools.dll NppConverter.dll

          Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
          • Claudia FrankC
            Claudia Frank @Michel Daoud
            最後由 編輯

            @Michel-Daoud

            Afaik, normal/expected behavior.

            Cheers
            Claudia

            1 條回覆 最後回覆 回覆 引用 0
            • Michel DaoudM
              Michel Daoud
              最後由 編輯

              @Claudia-Frank no it’s not. this didnt happen before.

              Claudia FrankC RomWinstonR 2 條回覆 最後回覆 回覆 引用 0
              • Claudia FrankC
                Claudia Frank @Michel Daoud
                最後由 編輯

                @Michel-Daoud

                Really, afaik it was long time ago when this has been changed.
                Autocomplete works only if the chars follow in succession, one after another.
                As soon as another non-autocomplete char is added it won’t autocomplete
                if right to cursor another char already exists.

                So you can press 5 times ( and it will autocomplete with 5 )
                (as long as it is enabled of course)
                but as soon as you press, for example a space, it won’t autocomplete for the next (.

                Which version did you use where this was working previously?

                Cheers
                Claudia

                1 條回覆 最後回覆 回覆 引用 0
                • RomWinstonR
                  RomWinston @Michel Daoud
                  最後由 編輯

                  @Michel-Daoud Hello, Iike @Claudia-Frank said, it is normal behavior. I don’t think you can have this behavior using np++ options or even TextFX autocomplete behavior.

                  However, it’s possible to achieve this behavior using a plugin : XBrackets.
                  I invite you to download it and try it out. In the settings of the plugin, you should see “Even if corresponding right brackets exists”. Check that too, and it should work the want you want it.

                  Hope I could help.

                  1 條回覆 最後回覆 回覆 引用 0
                  • 第一個貼文
                    最後的貼文
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors