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

  • 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

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

  • 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

  • @Michel-Daoud

    Afaik, normal/expected behavior.


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

  • @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?


  • @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.

Log in to reply