46

Whenever I type a (, [, or {, Notepad++ completes it with the corresponding closing bracket. I find this 'feature' annoying and would like to disable it. It doesn't seem to be listed in the Preferences dialog and a search of the online documentation didn't yield any useful result. Does anybody here know where the option for this is hidden? I'm currently using Notepad++ 5.0.3.

Toto
  • 89,455
  • 62
  • 89
  • 125
Sundar R
  • 13,776
  • 6
  • 49
  • 76

5 Answers5

68

From version 6.6.8 onward:

Go to Settings -> Preferences -> Auto-Completion

In the second grouping called "Auto-Insert", check/un-check the appropriate auto completion/inserts.

Bernhard Barker
  • 54,589
  • 14
  • 104
  • 138
ganders
  • 7,285
  • 17
  • 66
  • 114
19

TextFX > TextFX Settings > Uncheck +Autoclose {([Brace

RodgerB
  • 8,608
  • 9
  • 36
  • 47
  • 1
    Actually in my case, the option was already unchecked. When I tried checking it, my brackets got closed twice, like so: when I typed ( npp filled in with )). Maybe some odd bug. Now I've uninstalled and reinstalled npp, and the problem is gone. Still I'll mark this as answer for posterity's sake. :) – Sundar R Sep 24 '08 at 03:43
  • 2
    @ValentinTihomirov I haven't used N++ in a long time, but I believe TextFX is a plugin and you get a 'TextFX' menu if you install that. If you don't have that one installed, maybe it's the Preference mentioned in ganders' answer that's doing it in your case (or perhaps the *other* plugin that Norbert mentions that does the same thing!) – Sundar R Dec 25 '15 at 08:57
2

Actually it's more probable it's turned on in the ConvertExt plugin : Plugins->ConvertExt->Options Tab Notepad++: uncheck brackets autocompletion

2

Settings | Options | Autocompletion

Screenshot of my (german) version..

ingobaab
  • 87
  • 4
0

If none of the above helps (as in my case), there's also a plugin called Xbrackets Lite.

Plugins -> XBrackets Lite -> Uncheck Autocomplete brackets.

I seem to recall installing this because the other two (settings/auto-complete and TextFX .. AutoClose) did not work.

Notepad++ 7.3.3.

RolfBly
  • 3,612
  • 5
  • 32
  • 46