Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 4 Posters 4.9k 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.
    • Michel DaoudM
      Michel Daoud
      last edited by

      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 Reply Last reply Reply Quote 0
      • chcgC
        chcg
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • Michel DaoudM
          Michel Daoud
          last edited by

          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 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Michel Daoud
            last edited by

            @Michel-Daoud

            Afaik, normal/expected behavior.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Michel DaoudM
              Michel Daoud
              last edited by

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

              Claudia FrankC RomWinstonR 2 Replies Last reply Reply Quote 0
              • Claudia FrankC
                Claudia Frank @Michel Daoud
                last edited by

                @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 Reply Last reply Reply Quote 0
                • RomWinstonR
                  RomWinston @Michel Daoud
                  last edited by

                  @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 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors