Menu

bracket Auto-completion problem

hypor bao
2009-04-19
2012-11-13
  • hypor bao

    hypor bao - 2009-04-19

    Is there any configuration about the bracket Auto-completion?
    the bracket does not auto complete in my notepad++.
    what should i do?

    (just post in a wrong place)

     
    • cchris

      cchris - 2009-07-10

      You may want to review all plugins you have (TextFX is a plugin), and see whether one of them still has an active autoclose feature.

      CChris

       
    • cchris

      cchris - 2009-04-20

      It woorks, but only when using a builtin highlighter.

      Brace autocompletion may not make sense when not using a language specific highlighter, since the language defines the valid braces. This is imho a feature, but should be documented.

      However, and fot this same eason, brace autocompletion should work with user defined languages, and doesn't. This is not documented either, but would qualify as a bug.

      Does your problem match this description?

      CChris

       
    • hypor bao

      hypor bao - 2009-04-21

      where is the "language specific highlighter"?

      i found the reason why it didn't autocomplete:
         there is a plugin called "Convertext"
        plugins->Convertext->options->Notepad++->brackets->brackets autocompletion

      it will work when check it on.

       
    • cchris

      cchris - 2009-04-22

      Well it depends.

      For builtin languages, the highlighters are compiled into a dll called SciLexer.dll.  They use ptions to be found in the relevant section (XML node) of stylers.xml. The source for the lexer is Lex<lang>.cxx.

      For user defined languages, the same dll is being used, but the configuration is read from userDefinedLang.xml. The source file for the single lexer being used is LexUser.cxx.

      And for languages which you define external lexers for, it is up to the lexer to know where to draw the configure info from.

      CChris

       
    • DV

      DV - 2009-04-22
       
    • sh_nick

      sh_nick - 2009-07-09

      How can I diasble bracket auto-complition?
      I try to change TextFX->TextFX Settings->"+Autoclose {([Brace " - no effect :(
      ---
      Notepad++: ver 5.4.3 (ANSI), default plugins

       
    • cchris

      cchris - 2009-07-09

      Look at TextFX -> TextFX Settings -> Autoclose {([Brace. Isn't it on?

      CChris

       
    • sh_nick

      sh_nick - 2009-07-09

      > Look at TextFX -> TextFX Settings -> Autoclose {([Brace. Isn't it on?
      I checked and unchecked this options - no effect: when press "(" notepad++ print "()". 
      Only I have this bug?

       
    • sh_nick

      sh_nick - 2009-07-10

      In file "NppTextFXA.ini" I see:
      ...
      AutoCloseBrace=0
      ...