Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help wanted · · · – – – · · ·
    4
    7
    4596
    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 Daoud
      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
      • chcg
        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 Daoud
          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 Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Michel Daoud last edited by

            @Michel-Daoud

            Afaik, normal/expected behavior.

            Cheers
            Claudia

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

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

              Claudia Frank RomWinston 2 Replies Last reply Reply Quote 0
              • Claudia Frank
                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
                • RomWinston
                  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
                  Copyright © 2014 NodeBB Forums | Contributors