• Login
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.
  • M
    Michel Daoud
    last edited by Feb 25, 2017, 3:13 PM

    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
    • C
      chcg
      last edited by Feb 25, 2017, 6:07 PM

      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
      • M
        Michel Daoud
        last edited by Feb 25, 2017, 6:26 PM

        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

        C 1 Reply Last reply Feb 26, 2017, 12:14 AM Reply Quote 0
        • C
          Claudia Frank @Michel Daoud
          last edited by Feb 26, 2017, 12:14 AM

          @Michel-Daoud

          Afaik, normal/expected behavior.

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • M
            Michel Daoud
            last edited by Mar 4, 2017, 11:46 AM

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

            C R 2 Replies Last reply Mar 6, 2017, 12:53 AM Reply Quote 0
            • C
              Claudia Frank @Michel Daoud
              last edited by Mar 6, 2017, 12:53 AM

              @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
              • R
                RomWinston @Michel Daoud
                last edited by Mar 13, 2017, 7:38 AM

                @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